5faf5a0dcf4c06716d6a29686d49409b22b05565
Steps to reproduce: ------------------- - create a partner which is "individual"; - create a project (with timesheets and billable); - create a task A with timesheets; - link the task A to a sale order line with the partner created; - create a sub task A in task A with timesheets; - remove the sale order line linked to sub task A; - change the partner to "Company" Issue: ------ The sale order line is added to subtask A. The sale order to the partner will not be correct. Cause: ------ We trigger the logic `_compute_sale_line` when the `is_company` of the partner is modified. This is due to the construction of the dependencies, which takes implicit dependencies into account. Solution: --------- Remove the dependency and keep only the dependency with `partner_id` because it is an ORM limitation. opw-3836986 closes odoo/odoo#161305 Signed-off-by: Xavier Bol (xbo) <xbo@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, ...
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.
To learn the software, we recommend the Odoo eLearning, or Scale-up, the business game. Developers can start with the developer tutorials
Languages
Python
49.6%
JavaScript
47.8%
SCSS
2%
CSS
0.3%
HTML
0.2%