Daily updates from Odoo
Tuesday, December 24, 2024
9 changes · master
Enhancements to existing features
The Malaysia reporting module has been cleaned up by removing a field that is no longer used. This reduces unnecessary code and helps keep the module easier to maintain, with no expected change for end users.
Original PR description
since [1], the field active_company_country_code, is not used anymore. [1]: https://github.com/odoo/enterprise/commit/f82ef250560957046be0590f8c2a08039bcc34ca
The Chilean electronic invoicing POS now automatically handles date and time fields correctly when preparing receipt information. This helps prevent display or processing issues on receipts that depend on accurate date values.
Original PR description
Before this commit, field of type Date or DateTime in the POS model were not automatically converted to a DateTime object. This commit fixes this issue by automatically converting the field to a DateTime object when the field is of type Date or DateTime. taskId: 4378842
Resolved issues and error corrections
The point of sale delivery button now refreshes properly when a new delivery order is received. This helps staff see incoming delivery activity immediately and reduces the risk of missed or delayed order handling.
Original PR description
Before this commit: === - The delivery button on the navbar was not updating properly when receiving a new order. After this commit: === - The delivery button now updates correctly upon receiving a new order. task-4420307
Demo text used for editing report templates was moved into a Studio-only field so it no longer appears on real reports when customer data is missing. This keeps follow-up and SEPA direct debit documents accurate and avoids confusing recipients with placeholder content.
Original PR description
account_* = account_followup, account_sepa_direct_debit During the introduction of the new studio report editor, some reports were edited to add some demo data as default content. See: https://github.com/odoo/enterprise/pull/47501 The assumption was that this would only be displayed inside the report editor and the field value outside. Turns out that if the field value is falsy, the demo content is displayed inside the actual report. This commit has been generated to move only the demo data(default content) inside the new attribute data-oe-demo. This attribute is only used inside studio to display the demo content. > Related PR * https://github.com/odoo/odoo/pull/186391 Task: 4182618
Miscellaneous changes
Purpose of this commit: Remove files that depends on legacy 'bus/../test/helpers'. Part of:3818666 Forward-Port-Of: odoo/enterprise#75948
Original PR description
Purpose of this commit: Remove files that depends on legacy 'bus/../test/helpers'. Part of:3818666 Forward-Port-Of: odoo/enterprise#75948
Since the latest changes on https://github.com/odoo/enterprise/commit/6d49119281901e51910bb71e34300e414216123b, we use the gantt view as in appointments so when trying use the "More Options" from here, we will try to load the calendar form for which we will need to add the assets to not throw an error. Steps to reproduce: 1. Get a restaurant session in pos. 2. On the top right burguer menu, select Manage Bookings. 3. Then create a new one o select an existing one to open the dialog.
Original PR description
Since the latest changes on https://github.com/odoo/enterprise/commit/6d49119281901e51910bb71e34300e414216123b, we use the gantt view as in appointments so when trying use the "More Options" from here, we will try to load the calendar form for which we will need to add the assets to not throw an error. Steps to reproduce: 1. Get a restaurant session in pos. 2. On the top right burguer menu, select Manage Bookings. 3. Then create a new one o select an existing one to open the dialog. 4. Click on "More Options". opw-4334444 Forward-Port-Of: odoo/enterprise#74030
Purpose ======= When creating a shortcut to a document we can't access, an error is raised, because of side effect. This commit make the verification explicit. Task-4409538 Forward-Port-Of: odoo/enterprise#75656
Original PR description
Purpose ======= When creating a shortcut to a document we can't access, an error is raised, because of side effect. This commit make the verification explicit. Task-4409538 Forward-Port-Of: odoo/enterprise#75656
Before this commit, the `get_server_time` is called each time a timer reactive is created in a component since the server offset is computed thanks to that method is only stored in the timer reactive object. This commit creates a timer service as before to be able to contain the data fetched by the server to avoid having to fetch it again each time the timer is running. task-4361124 Forward-Port-Of: odoo/enterprise#75782 Forward-Port-Of: odoo/enterprise#74612
Original PR description
Before this commit, the `get_server_time` is called each time a timer reactive is created in a component since the server offset is computed thanks to that method is only stored in the timer reactive object. This commit creates a timer service as before to be able to contain the data fetched by the server to avoid having to fetch it again each time the timer is running. task-4361124 Forward-Port-Of: odoo/enterprise#75782 Forward-Port-Of: odoo/enterprise#74612
Member panel is open by default in discuss app https://github.com/odoo/odoo/pull/191293 Forward-Port-Of: odoo/enterprise#75971
Original PR description
Member panel is open by default in discuss app https://github.com/odoo/odoo/pull/191293 Forward-Port-Of: odoo/enterprise#75971