~therp-nl/banking-addons/6.1-empty_message_direct_debit

« back to all changes in this revision

Viewing changes to account_banking/account_banking_view.xml

[ADD] allow to manually match multiple invoices/move lines causing the
statement line to be split according to the amounts given

Show diffs side-by-side

added added

removed removed

Lines of Context:
299
299
                    <xpath expr="/form/notebook/page/field[@name='line_ids']/tree/field[@name='amount']" position="after">
300
300
                        <field name="match_type"/>
301
301
                        <field name="residual"/>
302
 
                        <button name="match_wizard" states="draft"
 
302
                        <field name="parent_id" invisible="1" />
 
303
                        <button name="match_wizard"
303
304
                                string="Match"
304
305
                                icon="terp-gtk-jump-to-ltr"
 
306
                                attrs="{'invisible': ['|', ('parent_id', '!=', False),
 
307
                                                           ('state', '!=', 'draft')]}"
305
308
                                type="object"/>
306
309
                        <field name="match_multi" invisible="1"/>
307
310
                        <field name="duplicate" invisible="1"/>
537
540
                    <field name="amount"/>
538
541
                        <field name="match_type"/>
539
542
                        <field name="residual"/>
540
 
                        <button name="match_wizard" states="draft"
 
543
                        <field name="parent_id" invisible="1" />
 
544
                        <button name="match_wizard"
541
545
                                string="Match"
542
546
                                icon="terp-gtk-jump-to-ltr"
 
547
                                attrs="{'invisible': ['|', ('parent_id', '!=', False),
 
548
                                                           ('state', '!=', 'draft')]}"
543
549
                                type="object"/>
544
550
                        <field name="match_multi" invisible="1"/>
545
551
                        <field name="duplicate" invisible="1"/>