account-invoicing icon indicating copy to clipboard operation
account-invoicing copied to clipboard

The Constraint will be triggered on duplicating the invoice, if the pricelist is not the partner_id -> pricelist_id.

Open agent-z28 opened this issue 6 months ago • 1 comments

When we assign a custom pricelist, with a diffrent currency, the invoice cannot be duplicated.

"Pricelist and Invoice need to use the same currency."

https://github.com/OCA/account-invoicing/blob/4be442bf1284c76472ddb1750f7a4b9b3d0699ae/account_invoice_pricelist/models/account_move.py#L35

I think the pricelist_id should be copy=True, but the pricelist is computed..

agent-z28 avatar Aug 13 '24 12:08 agent-z28