Wednesday, June 13, 2018
3 changes · master
Enhancements to existing features
Negative numbers will now keep the minus sign attached to the number when displayed in HTML. This improves readability in reports, forms, and other screens where values may wrap across lines.
Original PR description
This avoids line wraps between the negative sign and the number. Description of the issue/feature this PR addresses / Current behavior before PR:  Desired behavior after PR is merged: The HTML layout engine does not break lines in the middle of numbers. -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
This update makes the Point of Sale discount button easier to customize for businesses with tailored checkout workflows. Developers can now adjust or replace the discount button behavior without workarounds, supporting more flexible POS setups.
Original PR description
Description of the issue/feature this PR addresses: You are not able to make inheritance "action_button" pos_discount objects via "extend" or "include" functions. It’s because we cannot reach Class and only get access to the instance of that class. "extend" or "include" methods is available only for widgets that are returned by the main function. The update allows to get/inherit action_button pos_discount objects. Current behavior before PR: We cannot use "extend" or "include" for "action_button" pos_discount objects Desired behavior after PR is merged: Possibility to create a new action button (via the extend() method) or modify an existing action button (via the include() method). -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Point of Sale users can now find customers by searching for their VAT number. This helps businesses in countries where VAT numbers are a primary customer identifier, making checkout and customer lookup faster and more reliable.
Original PR description
Description of the issue/feature this PR addresses: IN some countries vat numbers are the main way of identification. Current behavior before PR: In the pos module, search by vat number was not enabled. Desired behavior after PR is merged: Search by vat number is possible. /cc @pimodoo -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Signed-off-by: "David Arnold" <"dar@xoe.solutions">