Update project_invoice.py
This commit is contained in:
parent
00f927575a
commit
ddfc96a2d3
|
|
@ -56,7 +56,7 @@ class ProjectInvoice(models.Model):
|
|||
@api.onchange("project_invline_ids")
|
||||
def get_price_unit_value_test(self):
|
||||
for rec in self.project_invline_ids:
|
||||
if rec.price_unit!=0.00:
|
||||
if rec.price_unit==0.00:
|
||||
rec.price_unit = rec.project_invoice_id.project_id.contract_value_untaxed
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue