Merge pull request #912 from expsa/project_test
Update project_invoice.py
This commit is contained in:
commit
b296cab516
|
|
@ -289,7 +289,7 @@ class ProjectInvoiceLine(models.Model):
|
|||
is_downpayment = fields.Boolean(related="order_line_id.is_downpayment", string="Is a down payment", store=True)
|
||||
qty_invoiced = fields.Float(string='Invoiced Quantity', readonly=True, digits='Product Unit of Measure')
|
||||
name = fields.Char()
|
||||
account_id = fields.Many2one(comodel_name='account.account')
|
||||
account_id = fields.Many2one(comodel_name='account.account',related='project_invoice_id.project_id.category_id.account_id')
|
||||
|
||||
@api.depends("project_invoice_id")
|
||||
def get_price_unit_value(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue