Tuesday, December 24, 2024
8 changes · master
Enhancements to existing features
This change adjusts an internal performance test to reflect the expected extra checks introduced when project document folders are configurable by company. It helps keep automated quality checks accurate without changing day-to-day user behavior.
Original PR description
Following odoo/enterprise#74571 where we make the project base folder configurable, there are 3 additional queries in the test "test_performance_billable_project_change_customer" because instead of getting the base folder in _create_missing_folders method of project (in documents_project application) as:
self.env.ref('documents_project.document_project_folder').id
we get it from the company as:
self.env.company.documents_project_folder_id.id
which requires 3 additional queries to apply record rules.
Task-4294237The accounting dashboard was adjusted so activity information can be extended more easily by related modules. This supports future reporting needs, such as country-specific reports, without changing the core dashboard behavior for users.
Original PR description
The field json_activity_data of account_journal_dashboard should be extensible for mail_activity fields. This is needed because in l10n_fr_reports, a newly introduced field of mail_activity was needed to be queried. Seperating the queried fields of mail_activity into a dedicated function made it extensible. task-4370133 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
The core Odoo release version has been updated to mark the master branch as 18.2 alpha. This helps teams and partners identify the upcoming release stage accurately during development and testing.
The restaurant point-of-sale split bill screen no longer shows tax and overall total amounts in the split summary. This simplifies the view for staff when dividing bills, reducing clutter and helping them focus on selected items.
Original PR description
Remove tax and total from split screen summary taskId: 4428776
The certification testing flow was streamlined by moving the course purchase setup out of the browser tour and preparing it directly in backend test code. This reduces test runtime by about 38%, helping development checks complete faster while still validating the certification journey.
Original PR description
Currently 'certification_member' tour is too slow that We had to increase the default timeout of 60 seconds. The purpose of this PR is to reduce tour time by removing steps / decrease fail attempt or…
Currently 'certification_member' tour is too slow that We had to increase the default timeout of 60 seconds. The purpose of this PR is to reduce tour time by removing steps / decrease fail attempt or optimizing tour steps. Changes: As the purpose of the test/tour is to check course certification flow, **NOT** to test the ecommerce checkout flow, which is taking too much time. We removed course purchase flow and used python to create sale order for the member. --> Python prepares certification data (course / survey) --> Python creates a sale order for the course and confirms it, should add the member to the course (so we do the steps in python rather than in the tour inside the ecommerce shop) --> Python runs test first, --> The tour fails the certification 3 times, --> Python checks that the member is kicked out of the course. --> Python creates a second sale order and confirms it, should add the member again and run it, --> The tour succeeds the certification (with the profile steps at the end) --> Python do some extra bonus checks, verifying membership status, course completion.. Improvement: Tour average runtime (Before this PR): **~59-62 seconds** Tour average runtime (After this PR): **~36-39 seconds** Performance Improvement: **~38%** Task-3478117
The product form now shows the self-order availability option only when self ordering is enabled for a related point-of-sale setup. This keeps product settings cleaner and helps users avoid seeing options that do not apply to their configuration.
Original PR description
Only show the field `self_order_available` inside a product form if self ordering is enabled in the settings (in any `pos_config` which is using any `pos_category` of the current product). task-id: 4273866 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
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