Files
bank-payment/account_banking_payment_export/views/payment_mode.xml
Pedro M. Baeza bafffd0ede [IMP] account_banking_payment_export: Add option for not grouping lines
There can be multiple reasons for not grouping payment lines:

* The customer needs each payment line individually for matching references.
* For avoiding the risk of returning a big amount.
* For not overpassing amout limits.
* ...

So with this commit, you have the possibility of selecting at payment mode
level if you want to group or not
2016-02-25 19:07:44 +01:00

38 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<!--
Add the payment mode type 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_payment.view_payment_mode_form"/>
<field name="arch" type="xml">
<field name="company_id" position="after">
<field name="active"/>
<field name="type"/>
<field name="purchase_ok"/>
<field name="sale_ok"/>
</field>
<form position="inside">
<group name="payment_order_create_defaults" string="Select Move Lines to Pay - Default Values">
<field name="default_populate_results"/>
<field name="default_journal_ids" widget="many2many_tags"/>
<field name="default_invoice"/>
<field name="default_date_type"/>
</group>
<group name="group_grouping" string="Line grouping">
<field name="group_lines"/>
</group>
<group string="Note" col="4">
<field name="note" nolabel="1"/>
</group>
</form>
</field>
</record>
</data>
</openerp>