8b55cdd7afbdd6beec40de20061b3606d7ea421d
This commit fixes multiple issues regarding the /shop/address and /my/account forms where both are displaying `vat` and `company_name` fields. 1. For a company's child partner, the `company_name` was empty instead of showing its company name (the name of its parent_id which is the commercial entity). 2. It was possible for a child partner to edit its `vat` (which is a field synced from parent to children, but only parent should be able to edit it as it is the commercial entity, see4a1bc45934and98b1fffd4e). 3. Company name now share the exact same condition than the vat field in order to be editable (as it should have been). It was possible to edit vat but not company name on /my/account. Steps to reproduce the bug: - Create a company contact CO with a VAT number - Create a contact C in CO with portal access - Log with C and go to the shop - In the checkout, try to edit the address details opw-2007368 closes odoo/odoo#34564 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
…
…
Odoo
Odoo is a suite of web based open source business apps.
The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...
Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.
Getting started with Odoo
For a standard installation please follow the Setup instructions from the documentation.
Then follow the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%