[FIX] account_move_line_sale_info: do not copy sale references
This commit is contained in:
parent
93a8c3cc97
commit
3bd9907fd6
@ -56,6 +56,7 @@ class AccountMoveLine(models.Model):
|
|||||||
string="Sale Order Line",
|
string="Sale Order Line",
|
||||||
ondelete="set null",
|
ondelete="set null",
|
||||||
index=True,
|
index=True,
|
||||||
|
copy=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
sale_order_id = fields.Many2one(
|
sale_order_id = fields.Many2one(
|
||||||
@ -65,4 +66,5 @@ class AccountMoveLine(models.Model):
|
|||||||
ondelete="set null",
|
ondelete="set null",
|
||||||
store=True,
|
store=True,
|
||||||
index=True,
|
index=True,
|
||||||
|
copy=False,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user