Skip to content

[16.0][FIX] account_cash_invoice: Do not create account for test #747

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

Merged

Conversation

carlos-lopez-tecnativa
Copy link
Contributor

@carlos-lopez-tecnativa carlos-lopez-tecnativa commented Jul 16, 2024

  • This account code conflicts with other chart accounts(other modules), so we are removing it.

https://github.com/odoo/odoo/blob/16.0/addons/l10n_hr_euro/data/account.account.template.csv#L325
https://github.com/odoo/odoo/blob/16.0/addons/l10n_fr/data/account.account.template.csv#L368

Log
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "account_account_code_company_uniq"[2077]DETAIL: Key (code, company_id)=(449000, 1) already exists.

@Tecnativa TT50198

- This account code conflicts with other chart accounts(other modules), so we are removing it.
@pedrobaeza pedrobaeza added this to the 16.0 milestone Jul 16, 2024
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's avoid conflicts in integration tests.

Fast-tracking this:

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-747-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit afc2be5 into OCA:16.0 Jul 16, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 45a93f2. Thanks a lot for contributing to OCA. ❤️

@carlos-lopez-tecnativa carlos-lopez-tecnativa deleted the 16.0-account_cash_invoice-fix-test-account branch July 16, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants