mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
Fixes account_bank_statement_import_paypal adjusting
wizard after https://github.com/OCA/server-ux/pull/165 has been merged.
This commit is contained in:
@@ -164,5 +164,5 @@ class AccountBankStatementImportPayPalMappingWizard(models.TransientModel):
|
||||
'res_id': mapping.id,
|
||||
'view_mode': 'form',
|
||||
'view_id': False,
|
||||
'target': 'new',
|
||||
'target': 'current',
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user