Search 1.9 billion lines of Odoo code on GitHub

product_uom_po_domain

Author: GRAP, Odoo Community Association (OCA)
License: AGPL-3
Branch: 12.0
Repository: akretion/product-attribute
Dependencies: product
Languages: HTML (349, 75.4%), PO File (16, 3.5%), Python (30, 6.5%), XML (19, 4.1%), and reStructuredText (49, 10.6%)
Other repositories: AITIC/product-attribute, Change2improve/product-attribute, Darknroses/product-attribute, ERPLibre/product-attribute, ForgeFlow/product-attribute, Ingeos/product-attribute, LevelPrime/product-attribute, NeatNerdPrime/product-attribute, OCA/product-attribute, Tecnativa/product-attribute, Vauxoo/product-attribute, aaltinisik/product-attribute, acsone/product-attribute, aurestic/product-attribute, binovo/product-attribute, brain-tec/product-attribute, coopiteasy/product-attribute, eLBati/product-attribute, kmee/product-attribute, legalsylvain/product-attribute, sergiocorato/product-attribute, takobi-online/product-attribute, xtendoo-corporation/product-attribute, and ypapouin/product-attribute

<h1 class="title">Product - Domain on Purchase UoM</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/product-attribute/tree/12.0/product_uom_po_domain"><img alt="OCA/product-attribute" src="https://img.shields.io/badge/github-OCA%2Fproduct--attribute-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/product-attribute-12-0/product-attribute-12-0-product_uom_po_domain"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/135/12.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p> <p>By default in Odoo, on the <code>product.template</code> and <code>product.product</code> form views, the list of the available Purchase UoM is not filtered. (<code>uom_po_id</code> field)</p> <p>So the UI is proposing all the uoms, even those that are not consistent with the selected main UoM. (defined in the <code>uom_id</code> field.)</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_uom_po_domain/static/description/without_module.png" src="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_uom_po_domain/static/description/without_module.png" /> </div> <p>This module extends the functionallity of product module, adding a domain on this field.</p> <div class="figure"> <img alt="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_uom_po_domain/static/description/with_module.png" src="https://raw.githubusercontent.com/OCA/product-attribute/12.0/product_uom_po_domain/static/description/with_module.png" /> </div> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#development" id="id1">Development</a></li> <li><a class="reference internal" href="#bug-tracker" id="id2">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id3">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id4">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id5">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id6">Maintainers</a></li> </ul> </li> </ul> </div> <a name="development"></a> <h2><a class="toc-backref" href="#id1">Development</a></h2> <p>Technically, this module add two new related fields on <code>product.template</code> model,</p> <ul class="simple"> <li><code>uom_category_id</code>, related to <code>uom_id.category_id</code></li> <li><code>uom_measure_type</code> related to <code>uom_id.category_id.measure_type</code>. This second field is a technical field that can be used for other modules.</li> </ul> <a name="bug-tracker"></a> <h2><a class="toc-backref" href="#id2">Bug Tracker</a></h2> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/product-attribute/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/OCA/product-attribute/issues/new?body=module:%20product_uom_po_domain%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h2><a class="toc-backref" href="#id3">Credits</a></h2> <a name="authors"></a> <h3><a class="toc-backref" href="#id4">Authors</a></h3> <ul class="simple"> <li>GRAP</li> </ul> <a name="contributors"></a> <h3><a class="toc-backref" href="#id5">Contributors</a></h3> <ul class="simple"> <li>Sylvain LE GAL (<a class="reference external" href="https://www.twitter.com/legalsylvain">https://www.twitter.com/legalsylvain</a>)</li> </ul> <a name="maintainers"></a> <h3><a class="toc-backref" href="#id6">Maintainers</a></h3> <p>This module is maintained by the OCA.</p> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>This module is part of the <a class="reference external" href="https://github.com/OCA/product-attribute/tree/12.0/product_uom_po_domain">OCA/product-attribute</a> project on GitHub.</p> <p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>