e6c77378baac201aef9d6672d5faadb74ffcbb34
Current behaviour: In the context of a multilevel contact hierarchy, if a contact is creating an SO, only that contact and it's commercial partner (usually the first company when going up in hierarchy from that contact) can see the SO. The other contacts that are in that hierarchy could see the number of related SO on the smart button, but once clicking on it, no SO were shown. Expected behaviour: Every direct or indirect parent of a contact should be able to see the SO, as shown in the smart button count. Steps to reproduce: - Create 3 contacts with the following hierarchy: Company -> Contact 1 -> Contact 2 (Company is the root) - Create an SO with Contact 2 as a customer - On each of the contacts, click on the SO smart button, all of them have 1 SO shown on the button, but only Constact 1 has none shown once clicked. (Regardless if Contact 1 is an Individual or Company) Fix: Simplify domain search to only take into account the children's ids. There is no need to make a distinction between a contact that is a company or not, since all commercial_partners are also partners by default. Affected versions: - 14.0 - 15.0 - saas-15.2 - saas-15.3 - master opw-2961030 closes odoo/odoo#100544 X-original-commit: c34e0200b2db3ad191ee08f91f9293404a2c3340 Signed-off-by: Piryns Victor (pivi) <pivi@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%