Merge PR #302 into 11.0

Signed-off-by alexey-pelykh
This commit is contained in:
OCA-git-bot
2020-06-10 11:34:21 +00:00
2 changed files with 2 additions and 2 deletions

View File

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

View File

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