[IMP] product: supplier info list view improvement
Add product uom and currency on product supplierinfo list view. TASK-ID: 1868182.
This commit is contained in:
committed by
Pierre Masereel
parent
1f848bf9d1
commit
7e9fc45109
@@ -613,7 +613,7 @@ class SupplierInfo(models.Model):
|
||||
sequence = fields.Integer(
|
||||
'Sequence', default=1, help="Assigns the priority to the list of product vendor.")
|
||||
product_uom = fields.Many2one(
|
||||
'uom.uom', 'Vendor Unit of Measure',
|
||||
'uom.uom', 'Unit of Measure',
|
||||
readonly="1", related='product_tmpl_id.uom_po_id',
|
||||
help="This comes from the product form.")
|
||||
min_qty = fields.Float(
|
||||
|
||||
@@ -614,7 +614,9 @@
|
||||
<field name="product_id" invisible="context.get('product_template_invisible_variant', False)" groups="product.group_product_variant"/>
|
||||
<field name="product_tmpl_id" string="Product" invisible="context.get('visible_product_tmpl_id', True)"/>
|
||||
<field name="min_qty"/>
|
||||
<field name="product_uom" groups="uom.group_uom"/>
|
||||
<field name="price" string="Price"/>
|
||||
<field name="currency_id" groups="base.group_multi_currency"/>
|
||||
<field name="date_start"/>
|
||||
<field name="date_end"/>
|
||||
</tree>
|
||||
|
||||
Reference in New Issue
Block a user