[IMP] purchase: add uom in purchase settings

closes odoo/odoo#107218

Signed-off-by: William Henrotin (whe) <whe@odoo.com>
This commit is contained in:
niyasraphy
2023-01-06 12:29:25 +01:00
parent b17533c9f9
commit a6917c4630
@@ -61,6 +61,16 @@
<setting id="stock_packaging_purchase" help="Purchase products by multiple of unit # per package" title="Ability to select a package type in purchase orders and to force a quantity that is a multiple of the number of units per package.">
<field name="group_stock_packaging"/>
</setting>
<setting id="sell_purchase_uom" help="Sell and purchase products in different units of measure"
documentation="/applications/inventory_and_mrp/inventory/management/products/uom.html">
<field name="group_uom"/>
<div class="content-group">
<div class="mt8" attrs="{'invisible': [('group_uom', '=', False)]}">
<button name="%(uom.product_uom_categ_form_action)d" icon="fa-arrow-right"
type="action" string="Units Of Measure" class="btn-link"/>
</div>
</div>
</setting>
</block>
</app>
</xpath>