Browse Source

Fixes account_bank_statement_import_paypal adjusting

wizard after https://github.com/OCA/server-ux/pull/165
has been merged.
12.0
Jordi Ballester Alomar 5 years ago
parent
commit
a9da89324b
  1. 2
      account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal_mapping_wizard.py
  2. 8
      account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal_mapping_wizard.xml

2
account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal_mapping_wizard.py

@ -164,5 +164,5 @@ class AccountBankStatementImportPayPalMappingWizard(models.TransientModel):
'res_id': mapping.id,
'view_mode': 'form',
'view_id': False,
'target': 'new',
'target': 'current',
}

8
account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal_mapping_wizard.xml

@ -143,12 +143,8 @@
</group>
</group>
</xpath>
<xpath expr="//div[@name='final_buttons']/button" position="attributes">
<attribute name="class">btn-default</attribute>
<attribute name="string">Cancel</attribute>
</xpath>
<xpath expr="//div[@name='final_buttons']/button" position="before">
<button name="import_mapping" string="Import" type="object" class="btn-primary" />
<xpath expr="//div[@name='states_buttons']/button" position="before">
<button name="import_mapping" string="Import" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'final')]}"/>
</xpath>
</field>
</record>

Loading…
Cancel
Save