Tuesday, October 29, 2024
1 change · 17.0
Enhancements to existing features
This update lets Odoo avoid showing an address type, such as invoicing or delivery, when a related contact has no separate name. Business documents can now display just the company name in these cases, making printed addresses cleaner and less repetitive.
Original PR description
Description of the issue/feature this PR addresses: In case a child contact (e.g. Invoicing or delivery address) does not require a dedicated name (but only a different address of the same company), we do not want to print "Company name, Address Type" but only "Company name". Adding an extra context key allows to do such a customization. Current behavior before PR: Impossible not to display the address type if contact doesn't have name Desired behavior after PR is merged: Possible to not display the address type if contact doesn't have name Forward port of https://github.com/odoo/odoo/pull/126451 --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr