diff --git a/addons/product/models/product_supplierinfo.py b/addons/product/models/product_supplierinfo.py index 5461d0e983e..5545895383e 100644 --- a/addons/product/models/product_supplierinfo.py +++ b/addons/product/models/product_supplierinfo.py @@ -62,6 +62,10 @@ class SupplierInfo(models.Model): delay = fields.Integer( 'Delivery Lead Time', default=1, required=True, help="Lead time in days between the confirmation of the purchase order and the receipt of the products in your warehouse. Used by the scheduler for automatic computation of the purchase order planning.") + discount = fields.Float( + string="Discount (%)", + digits='Discount', + readonly=False) @api.onchange('product_tmpl_id') def _onchange_product_tmpl_id(self): diff --git a/addons/product/views/product_supplierinfo_views.xml b/addons/product/views/product_supplierinfo_views.xml index e5eea2d7e56..d97d7027ac7 100644 --- a/addons/product/views/product_supplierinfo_views.xml +++ b/addons/product/views/product_supplierinfo_views.xml @@ -32,6 +32,7 @@