Daily updates from Odoo
Navigate
Branch
Thursday, June 13, 2019
6 changes
Enhancements to existing features
Odoo now has a shared way to choose the correct base website address when creating external links. This helps emails, portal pages, sales documents, and website-related records point customers to the right website domain without custom handling in each area.
Original PR description
Before this commit, when we want to make an external url, we need to know if the record is related to a specific website or not, and choose base_url or website domain. Now each model have a fonction get_base_url (public to be callable from email template, ...) and website override this function to add the website domain if the record is website specific. Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Changing an employee's active contract calendar now updates the employee's work calendar as well, including when contracts are opened directly. If someone manually creates a mismatch, the system warns users so scheduling and payroll-related planning stay consistent.
Original PR description
Purpose ======= An employee and its current contract should have the same calendar. Currently, if the contract's calendar is changed, the employee's calendar is not changed. Specification ============= When manually changing a contract's calendar, it should also set the employee's calendar to the new calendar. If the employee's calendar is nonetheless manually changed, a warning should be displayed if there is a mismatch between both calendars. Task 1951347 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Payment return handling now carries website context, making it easier to tailor follow-up actions per website. This helps businesses running multiple storefronts use website-specific behavior such as different confirmation email templates.
Original PR description
**Description of the issue/feature this PR addresses:** one more step towards multi-website in eCommerce **Current behavior before PR:** no ``website_id`` in context in call ``force_quotation_send()`` **Desired behavior after PR is merged:** Allow using context to customize website-dependent behaviour in custom modules (e.g. use specific email template depending on website) -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr @it-projects-llc
Odoo now hides confusing automatically generated TaxCloud tax names and instead shows the actual tax amount per line when TaxCloud is used. This reduces customer confusion, prevents users from manually selecting generated TaxCloud taxes, and improves warnings and checkout totals when TaxCloud is not yet configured or calculated.
Original PR description
The generated tax names contain an estimate of the percentage. This leads to issues though. E.g. ``` |---------+------------+-------------| | Product | Unit price | Taxes | |---------+------------+-------------| | A | 10.00 | Tax 7.700 % | | A | 55.00 | Tax 7.745 % | | A | 100.00 | Tax 7.750 % | |---------+------------+-------------| ``` These 3 tax rates are really the same, but to make the tax amount correct after rounding Odoo calculates 3 different taxes. This is confusing to customers. Instead always show the tax amount per line and hide the taxes if the fiscal position uses taxcloud. Note that the issue does not appear on reports because these generated taxes are grouped under a generic name. https://www.odoo.com/web?debug#id=1920560&action=327&model=project.task&view_type=form&menu_id=4720 Related to odoo/odoo#18084
Payroll payslips now automatically use the default salary structure from the employee contract when none is selected, making payslip creation more consistent. Calendar synchronization logic was moved out of the enterprise payroll app to the community contract area, reducing duplication and aligning payroll behavior across editions.
Original PR description
Calendar sync moved to community here: https://github.com/odoo/odoo/pull/32295 Task id 1951347
Resolved issues and error corrections
Opening the full chat composer no longer crashes when a message is being prepared without complete customer information. Instead, users are prompted to fill in the missing details, allowing them to continue their workflow without interruption.
Original PR description
**When we open full composer and we have not provided partner information, it should open a popup to fill out the missing partner information.** But we're getting a traceback. This was produced after the commit: https://github.com/odoo/odoo/commit/957c99abd53b42fa82903ad7ad03300797a706cf It will be fixed in this PR. Task Link- https://www.odoo.com/web?#id=2005890&action=333&active_id=1278&model=project.task&view_type=form&menu_id=4720 Pad Link- https://pad.odoo.com/p/r.57cebd0e2bf1cda4f4d6081df2835701 -- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr