9c35ab88fcdf74c35f344915f352498e10cb1e69
Steps to reproduce: - Set up an alias to receive vendor bills to company 2 - Forward a mail to this alias from an internal user - The mail should have the email address of a partner belonging to company 1 in it Current behavior: - The partner from company 1 can be set as vendor even tho the vendor bill will be from company 2 (inconsistent) - This leads to a multi-company error, and you can't open the bill as an user who can see it but not the partner. Intended behavior: - Partner from company 1 shouldn't be set as vendor if the vendor bill has been created from email alias of company 2. As the intended behavior says, the code avoids to set the vendor if the bill is created through an alias. opw-2587047 closes odoo/odoo#91973 X-original-commit: 4d5bb1fd46546870cd10d8dcd5b229de68a2e284 Signed-off-by: William André (wan) <wan@odoo.com> Co-authored-by: Andrea Grazioso (agr-odoo) <agr@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%