Files
bank-payment/account_banking_payment_transfer/view/payment_mode.xml
Stéphane Bidoul 424c4067cb [IMP] split account_banking_payment from account_banking
We drop the bank statement related part and we manage
the state of payment order with workflow transitions
triggered by the reconciliation of moves lines on the
transfer account.
2015-01-06 15:29:39 +01:00

44 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--
Add the payment mode type and transfer settings
-->
<record id="view_payment_mode_form_inherit" model="ir.ui.view">
<field name="name">payment.mode.form.inherit</field>
<field name="model">payment.mode</field>
<field name="inherit_id" ref="account_banking_payment_export.view_payment_mode_form_inherit"/>
<field name="arch" type="xml">
<field name="type" position="after">
<group colspan="4" col="4">
<group colspan="2">
<separator colspan="2"
string="Transfer move settings" />
<field name="transfer_account_id"
domain="[('type', '=', 'other'),
('reconcile', '=', True),
('company_id', '=', company_id)]"
context="{
'default_type': 'other',
'default_reconcile': True,
'default_company_id': company_id}"
/>
<field name="transfer_journal_id"
domain="[('company_id', '=', company_id)]"
/>
</group>
<group colspan="2">
<!-- TODO: extract to account_banking_payment_term -->
<separator colspan="2"
string="Optional filter by payment term" />
<field name="payment_term_ids" nolabel="1" colspan="2"/>
</group>
</group>
</field>
</field>
</record>
</data>
</openerp>