odoo/odoo#234382
Created by fw-bot
Merged
at 63df36b4489e03f56b9393cc4266a92176bc7318
Statuses:
- legal/cla: Contributor License Agreement check
- ci/runbot: Odoo Test Suite
- ci/upgrade_enterprise: Test upgrades for enterprise master
- ci/template: Contact runbot team on discord for help.
- ci/style: Optional style check. Ignore it only if strictly necessary.
- ci/security: Required security check. Can only be ignored by security team.
- label
- odoo-dev:18.0-17.0-RB-231285-stock_dropshipping-set_chart_of_accounts-kdeb-459540-fw
- head
- 94b3bfb1480eddde9685144a6e44d42099199e8c
- merged
- 3 weeks ago by Bugfix, Kawtar Drissi El Bouzaidi (kdeb)
| odoo/odoo | |
|---|---|
| 17.0 | #224775 |
| 18.0 | #234382 |
| saas-18.2 | #234411 |
| saas-18.3 | #234437 |
[FIX] stock_dropshipping: add CoA setup
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.
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr
Forward-Port-Of: #224775