diff options
| author | Josse Colpaert <jco@odoo.com> | 2015-10-01 13:05:18 +0200 |
|---|---|---|
| committer | Josse Colpaert <jco@odoo.com> | 2015-10-01 13:05:56 +0200 |
| commit | 729c1fbec10fb9cec12de0d99fd262ea25da4d5a (patch) | |
| tree | 0eeae2070af79f19faa0120763934cce351a3978 /addons | |
| parent | 59ab9bd25e5c0c4fe8363a13a80112879e3bea6c (diff) | |
[FIX] sale: onchange for sale_delay/customer_lead not needed as it is in sale_stock
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/sale/sale.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/sale/sale.py b/addons/sale/sale.py index b2651d143ab..b4ef4e036fc 100644 --- a/addons/sale/sale.py +++ b/addons/sale/sale.py @@ -498,11 +498,6 @@ class SaleOrderLine(models.Model): for line in self: line.price_reduce = line.price_subtotal / line.product_uom_qty if line.product_uom_qty else 0.0 - @api.onchange('product_id') - def _onchange_product_id(self): - for line in self: - line.customer_lead = line.product_id and line.product_id.sale_delay or 0.0 - @api.multi @api.onchange('order_id', 'product_id') def _compute_tax_id(self): |
