Add search on supplier on product search view

Move margin fields to sale order line form view (instead of tree view)
This commit is contained in:
Alexis de Lattre
2018-07-06 19:33:35 +02:00
parent 52eff801b6
commit e9049570ee
2 changed files with 11 additions and 7 deletions

View File

@@ -33,7 +33,7 @@ class SaleOrderLine(models.Model):
string='Margin in Company Currency', readonly=True, store=True,
compute='_compute_margin', currency_field='company_currency_id')
margin_rate = fields.Float(
string="Margin (%)", readonly=True, store=True,
string="Margin Rate", readonly=True, store=True,
compute='_compute_margin',
digits=(16, 2), help="Margin rate in percentage of the sale price")