[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:
Darshil Trivedi
2018-08-23 10:26:13 +02:00
committed by Pierre Masereel
parent 1f848bf9d1
commit 7e9fc45109
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -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(
+2
View File
@@ -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>