Search 1.9 billion lines of Odoo code on GitHub

multicompany_product_seller_id_fix

Author: Trey (www.trey.es)
License: AGPL-3
Branch: 8.0
Repository: acysos/trey-addons
Dependencies: product
Languages: Python (25, 12.6%), SVG (166, 83.4%), and reStructuredText (8, 4.0%)
Other repositories: RL-OtherApps/trey-addons, TheCloneMaster/trey-addons, kit9/trey-addons, and treytux/trey-addons

<a class="reference external image-reference" href="https://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="multicompany-product-seller-id-fix"></a> <h2>Multicompany product seller id fix</h2> <p>This module overwrites the 'seller_id' field of the product template to prevent it from storing the value of the first supplierinfo it finds without taking into account the company in which the identified user is. With this modification the field is converted to compute and filtered by company to avoid the error of access to partners of another company.</p> <a name="note"></a> <h3>Note</h3> <p>This bug only affects when the database has more than one active company.</p>