ea8acc17b40b02f5a2e140be73ab77a32d299eed
When creating a Vendor Bill, the default Sales Team & Person of the company is assigned to the Vendor Bill. The field isn't even displayed, it's hidden, you can only display it with Studio and can't even change it. The fact is : purchases and sales are two completely different roles and business in companies. This has the indirect consequence that any user that follows the default Sales Team will get notified of any new Vendor Bill created in Accounting, which he very likely does not need/want to see. This PR correct that by adding a condition on the filling of these fields. These fields will be filled when the move is a sale document. closes odoo/odoo#120628 Task-id: 3279233 Related: odoo/enterprise#44034 Signed-off-by: Florian Gilbert (flg) <flg@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%