Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
agent-z28 opened this issue Aug 13, 2024 · 1 comment

Comments

@agent-z28
Copy link

agent-z28 commented Aug 13, 2024

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

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

raise UserError(_("Pricelist and Invoice need to use the same currency."))

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

@agent-z28 agent-z28 changed the title The Constraint will be triggered on duplicating the invoice, if the pricelist is not default. The Constraint will be triggered on duplicating the invoice, if the pricelist is not the partner_id -> pricelist_id. Aug 13, 2024
@agent-z28
Copy link
Author

@bizzappdev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant