Browse Source

fix S0023 - Change Cost to exVAT Cost

pull/14/head
EliseDup 8 years ago
parent
commit
bf5bbfe483
  1. 2
      beesdoo_product/models/beesdoo_product.py

2
beesdoo_product/models/beesdoo_product.py

@ -30,6 +30,8 @@ class BeesdooProduct(models.Model):
suggested_price = fields.Float(string='Suggested exVAT Price', compute='_compute_cost', readOnly=True)
standard_price = fields.Float(compute='_compute_cost')
standard_price = fields.Float(string='exVAT Cost')
def _get_main_supplier_info(self):
return self.seller_ids.sorted(key=lambda seller: seller.date_start, reverse=True)

Loading…
Cancel
Save