From e474ce7a9f5d9224cae5155cb7f5d9dcf7220a32 Mon Sep 17 00:00:00 2001 From: Ruchir Shukla Date: Wed, 14 Aug 2024 11:07:44 +0530 Subject: [PATCH] [FIX] account_invoice_pricelist: Added copy attribute in the pricelist_id field --- account_invoice_pricelist/models/account_move.py | 1 + 1 file changed, 1 insertion(+) diff --git a/account_invoice_pricelist/models/account_move.py b/account_invoice_pricelist/models/account_move.py index b2f63e3302b..498a53b39ac 100644 --- a/account_invoice_pricelist/models/account_move.py +++ b/account_invoice_pricelist/models/account_move.py @@ -17,6 +17,7 @@ class AccountMove(models.Model): store=True, readonly=True, precompute=True, + copy=True, ) @api.constrains("pricelist_id", "currency_id")