Thursday, January 26, 2023
7 changes · master
Enhancements to existing features
The tax unit form now shows a helpful placeholder in the name field, making it clearer what users should enter. This small usability improvement reduces confusion when creating or editing tax units.
Original PR description
before this commit, no label or placeholder was provided for the name field in account.tax.unit model. after this commit, the placeholder will be added for the name field in account.tax.unit model Before:  After: 
Mexican online stores can now ask customers during checkout whether they need an invoice and collect the required fiscal details when needed. If no invoice is requested, the related CFDI can be issued as a general-public invoice, reducing manual follow-up and improving compliance with local invoicing flows.
Original PR description
Allow to send a CFDI as "publico en general" by adding a field on the account.move and on the sale.order. Also add the field `l10n_mx_edi_usage` on the SO. When creating a move from a SO, the value…
Allow to send a CFDI as "publico en general" by adding a field on the account.move and on the sale.order. Also add the field `l10n_mx_edi_usage` on the SO. When creating a move from a SO, the value of these fields are copied. In addition, add an extra tab "Extra Info" on the ecommerce for the customer to indicate whether he wants an invoice or not. If he wants an invoice, ask for the fiscal regime, the usage and the tax breakdown. If he doesn't want an invoice, it means we can send the related invoice in "publico en general" mode. The extra info tab appears only if: * the company is mexican * the automatic_invoice setting is True When displaying the extra info tab, we also need to add a flag to all the templates rendered during the checkout flow (because each of them calls the wizard_checkout template, responsible for the rendering of a continuous line on top of the screen with the current step of the checkout we are at), these template's ids are: * extra_info * cart * checkout * address * payment task-3089169 https://github.com/odoo/odoo/pull/108181
Social media comment screens now use clearer colors in dark mode, making author and action links easier to read. Light mode colors were also refreshed to better match the current branding of each supported social platform.
Original PR description
Purpose: - This commit aims at improving the readability in social modules when the dark mode is activated. Therefore, some "raw" color values have been removed, or replaced by variables that are overridden when the dark mode is set. Now, when the dark mode is activated, the author and command links in the comment modals have (more or less) the same colors as on the dark mode version of the related websites (instead of using the regular ones for both modes). The colors of the light mode have also been updated to match the current designs of these websites in light mode. Task-3137791
This update adds tools to quickly create sample subscription sales orders, recurring products, recurrence plans, and pricing data. It helps teams test and demonstrate subscription workflows with more realistic data, without affecting day-to-day customer-facing features.
Original PR description
Add populate method for subscription SO, recurrent product, recurrence and pricing.
This update adds internal annotations so automated checks can better distinguish safe database queries from risky ones. It supports stronger security review processes without changing how users work in accounting, documents, or local reporting features.
Original PR description
This commit is the enterprise side of the commit It simply adds comments to disable the new sql-injection check on query that are impossible to infer. https://github.com/odoo/odoo/pull/101237/files
Payroll test and calendar data were updated to align with the automatic calculation of average daily working hours. This reduces manual setup in Belgian payroll flows and helps keep leave, vouchers, and payslip-related calculations consistent with the latest platform behavior.
Original PR description
In odoo/odoo#109768 the average working hours per day was changed to a compute method, hence calling the onchange manually is no longer required. task-3102517
The partner ledger now hides values in the currency column when they match the company currency. This reduces duplicate information and makes accounting reports easier to read and compare.
Original PR description
In the partner ledger report, we should not show the amount in the currency column if it's in the currency of the company. The goal is the harmonisation and visual simplification of accounting reports. task: 3135715