Friday, February 16, 2024
5 changes · 17.0
Enhancements to existing features
This update adds a new filter that allows users to display financial amounts in different units such as decimals, units, thousands, lakhs, and millions. This makes financial reports more flexible and easier to read depending on the user's preference and regional requirements, particularly for Indian accounting standards.
Original PR description
- Adds an option/filter to display amount in different units, i.e, 'decimals', 'units', 'thousands', 'lakhs' and 'millions'. - Makes 'format_value' a private python method and creates a new public 'format_value' method that should be called from the client. This change was made because we can not pass records from the client to the server. For example for currency, we can pass the currency_id to the server, but then we need to fetch the currency before continuing. task-3626894
This update improves the Danish localization reporting by adding validation and user guidance for account numbers required in SAF-T exports. Users will now see warning banners on bank journal cards when account numbers are missing, and receive clear error messages if they attempt to export SAF-T reports without proper account number configuration. This ensures compliance with Danish reporting requirements and prevents incomplete exports.
Original PR description
This pr contains Three commits: - The first commit will add a little banner on the cart of bank journal when they don't have an account number linked (only for l10n_dk). - The other commit will add a user error if the user tries to export the saf-t report without having an account number set on the company. Also adding the infos in the warning of the general ledger saying the missing field for the saf-t. - Also adding the translation for the two commits above task: 3709843
This improvement allows users to cancel Mexican invoices and payment documents (CFDIs) even when the accounting period is locked, instead of blocking the operation with an error. Users can now proceed with the cancellation and handle any period-related issues manually outside the locked period, providing greater flexibility in document management.
Original PR description
… period In case the period is locked, don't try to cancel the document to avoid the UserError saying you are in a locked period. Instead, don't block the user. That way, he can manage this case manually outside of the locked period. task_id: 3750701
This update improves how Odoo formats numbers and amounts by adding flexible rounding options. Users can now control how numbers are rounded and display large amounts in simplified units (like showing 10,456 as "10" in thousands). This makes financial reports and displays more customizable and easier to read.
Original PR description
- Simplify and clean up formatLang code.
- Adds the possibility to give formatLang() a 'rounding_mode' (any Decimal rounding mode)
and an amount_rounding ('decimals', 'units', 'thousands', 'millions' and 'lakhs').
'amount_rounding' will display the amount in the given unit. For example, 10456 in 'thousands' will be 10.
task-3626894
---
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-prThis update improves the Point of Sale configuration screen by hiding unnecessary settings based on user roles, making the interface cleaner and easier to navigate. Different user groups will now see only the configuration options relevant to their responsibilities, reducing clutter and improving usability.
Original PR description
Correct/improve the view of the point of sale configuration by hiding certain unnecessary parts for certain user groups. Forward-Port-Of: odoo/odoo#154044 Forward-Port-Of: odoo/odoo#151305