Browse Source

Merge PR #301 into 12.0

Signed-off-by JordiBForgeFlow
12.0
OCA-git-bot 4 years ago
parent
commit
e5455b3c40
  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
  3. 2
      account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.py
  4. 8
      account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_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>

2
account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.py

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

8
account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.xml

@ -121,12 +121,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