odoo/odoo#234382

Created by fw-bot
Merged at 63df36b4489e03f56b9393cc4266a92176bc7318

Statuses:

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.

runbot-231285


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

Forward-Port-Of: #224775