5e268d889306dc6ea83011b77a64844bf0451e77
From Invoicing/Accounting generate an invoice toward a customer which is a child contact of a company. Click on "Validate" and print the invoice: the name and contact information of the customer will be in the report. Now go into Contacts and delete the customer. If you print again the report there will be no mention of the customer, and also from the invoicing tree view there is no customer information. This is due to the contraint on the deletion that affect only the parent contact (i.e. a company) which is being billed. The solution is to put a constraint on the account model to restrict the deletion of the contact if it is customer of an invoice. opw-2052717 closes odoo/odoo#35761 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.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%