Friday, May 26, 2023
2 changes · master
Resolved issues and error corrections
The point of sale customer display now clears paid orders by showing a thank-you message, so customers no longer see the previous order while the next sale starts. It also shows item-level discounts directly under the relevant products, making pricing clearer and reducing confusion at checkout.
Original PR description
[FIX] point_of_sale: Customer Display Corrections Currently, the customer display has a few misleading behaviors. 1. Display doesn't reset when expected After successful payment, the details of the previous order remain visible until the 1st product of the next order is encoded —> We now show a _Thank You_ Message after successful payment. 2. Discount lines are not shown in the Customer Display Currently, when a discount is applied to the whole order, a new line appears, showing this discount, but if a discount is applied to a specific product, there is no indication on the Customer Display —> we now also display a discount line under the product name for each product where a specific discount is applied. Link to task: https://www.odoo.com/web#id=2906039&cids=1&menu_id=4720&action=333&active_id=1737&model=project.task&view_type=form --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The signature dialog now opens on the automatic signature option instead of forcing users to the drawing option after selecting a signature field. This makes signing smoother for users who prefer the prefilled automatic signature and aligns the dialog with its intended default behavior.
Original PR description
This commit improves the behavior of the signature dialog. Now, we don't force the display of the dialog to the draw tab after a click has been made on a field with the signature widget. The dialog has already supported the management of the default tab when no defaultName props is given. A test has been adapted to test this new behavior. This test used the full_name attribute to verify the presence of the 'Auto' button. Now, this button is selected by default. task-3259468.