~acsone-openerp/banking-addons/ba-70-payment-export-refactoring

« back to all changes in this revision

Viewing changes to account_banking/wizard/banking_transaction_wizard.xml

  • Committer: Holger Brunn
  • Author(s): stefan at therp
  • Date: 2013-06-10 10:14:31 UTC
  • mfrom: (162.6.5 ba7.0-manual_multi_match)
  • Revision ID: hbrunn@therp.nl-20130610101431-6584tozv8k15wxjh
[IMP] Single manual reconcile is redundant when we can reconcile with
multiple invoices in the next tab

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
                                        name="trigger_match"
83
83
                                        type="object"
84
84
                                        string="Match again"/>
85
 
                                <!-- Manual selection -->
86
85
                            </page>
 
86
                            <!-- Manual selection -->
87
87
                            <page string="Manual match">
88
 
                                <field name="manual_invoice_id"
89
 
                                       context="{'search_default_partner_id': partner_id}"
90
 
                                       />
91
 
                                <!-- 
92
 
                                     Specify alternative tree_view_ref as a
93
 
                                     workaround for lp:1073521 in OpenERP 6.1
94
 
                                     Need to also define 'view_mode' to prevent
95
 
                                     an instant editable tree view
96
 
                                     reconstruction by account.move.line's
97
 
                                     fields_view_get().
98
 
                                     Both are not needed in OpenERP 6.0 or 7.0.
99
 
                                -->
100
 
                                <field name="manual_move_line_id"
101
 
                                       context="{
102
 
                                                    'search_default_partner_id': partner_id,
103
 
                                                    'tree_view_ref': 'account.view_move_line_tax_tree',
104
 
                                                    'view_mode': 'yes'
105
 
                                                }"
106
 
                                       />
107
 
                                <newline/>
108
 
                                <button colspan="1"
109
 
                                        name="trigger_write"
110
 
                                        type="object"
111
 
                                        string="Match"/>
112
 
                            </page>
113
 
                            <page string="Multiple manual matches" attrs="{'invisible': ['|', ('match_type', '!=', False), ('statement_line_parent_id', '!=', False)]}">
114
88
                                <field name="manual_invoice_ids" colspan="4"
115
89
                                       context="{'search_default_partner_id': partner_id}"
116
90
                                       />
146
120
                        </notebook>
147
121
                        <group colspan="2">
148
122
                            <separator/>
149
 
                            <button icon="gtk-ok" string="Done" special="cancel"/>
 
123
                            <button icon="gtk-ok" string="Close" special="cancel"/>
150
124
                        </group>
151
125
                    </group>
152
126
                </form>