Skip to content
Snippets Groups Projects
Commit 61c0e82b authored by Cédric Snauwaert's avatar Cédric Snauwaert
Browse files

[FIX] account: add oldname on account_invoice uom field for the migration

parent 0f95a92e
Branches
Tags
No related merge requests found
......@@ -1015,7 +1015,7 @@ class AccountInvoiceLine(models.Model):
invoice_id = fields.Many2one('account.invoice', string='Invoice Reference',
ondelete='cascade', index=True)
uom_id = fields.Many2one('product.uom', string='Unit of Measure',
ondelete='set null', index=True)
ondelete='set null', index=True, oldname='uos_id')
product_id = fields.Many2one('product.product', string='Product',
ondelete='restrict', index=True)
account_id = fields.Many2one('account.account', string='Account',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment