Skip to content

Conversation

@fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Nov 4, 2025

The test test_dropship_return_backorders_bill_on_order failed when running without demo data because no chart of accounts was installed, so no Purchase journal existed. As a result, purchase_order.action_create_invoice() raised:

UserError: No journal could be found in company ... for any of those types: purchase

This change inherits from AccountTestInvoicingCommon to have the necessary charts.

runbot-231285


I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

Forward-Port-Of: #224775

The test `test_dropship_return_backorders_bill_on_order` failed when running
without demo data because no chart of accounts was installed, so no Purchase
journal existed. As a result, `purchase_order.action_create_invoice()` raised:

  UserError: No journal could be found in company ... for any of those types: purchase

This change inherits from AccountTestInvoicingCommon to have the necessary charts.
runbot-231285

X-original-commit: 11c5b33
@robodoo
Copy link
Contributor

robodoo commented Nov 4, 2025

Pull request status dashboard

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Nov 4, 2025
@fw-bot
Copy link
Contributor Author

fw-bot commented Nov 4, 2025

This PR targets 18.0 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

robodoo pushed a commit that referenced this pull request Nov 5, 2025
The test `test_dropship_return_backorders_bill_on_order` failed when running
without demo data because no chart of accounts was installed, so no Purchase
journal existed. As a result, `purchase_order.action_create_invoice()` raised:

  UserError: No journal could be found in company ... for any of those types: purchase

This change inherits from AccountTestInvoicingCommon to have the necessary charts.
runbot-231285

closes #234382

X-original-commit: 11c5b33
Signed-off-by: William Henrotin (whe) <whe@odoo.com>
Signed-off-by: Kawtar Drissi El Bouzaidi (kdeb) <kdeb@odoo.com>
@robodoo robodoo closed this Nov 5, 2025
@fw-bot fw-bot deleted the 18.0-17.0-RB-231285-stock_dropshipping-set_chart_of_accounts-kdeb-459540-fw branch November 12, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

forwardport This PR was created by @fw-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants