mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[ADD] account_payment_order filter journals on company for demo data
This commit is contained in:
@@ -20,12 +20,12 @@
|
||||
|
||||
<record id="account_payment_mode.payment_mode_outbound_ct1" model="account.payment.mode">
|
||||
<!-- Credit Transfer to Suppliers -->
|
||||
<field name="default_journal_ids" search="[('type', 'in', ('purchase', 'purchase_refund'))]"/>
|
||||
<field name="default_journal_ids" search="[('type', 'in', ('purchase', 'purchase_refund')), ('company_id', '=', ref('base.main_company'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="account_payment_mode.payment_mode_inbound_dd1" model="account.payment.mode">
|
||||
<!-- Direct Debit of customers -->
|
||||
<field name="default_journal_ids" search="[('type', 'in', ('sale', 'sale_refund'))]"/>
|
||||
<field name="default_journal_ids" search="[('type', 'in', ('sale', 'sale_refund')), ('company_id', '=', ref('base.main_company'))]"/>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user