Merge PR #303 into 13.0

Signed-off-by alexey-pelykh
This commit is contained in:
OCA-git-bot
2020-06-12 08:08:38 +00:00
2 changed files with 3 additions and 6 deletions

View File

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

View File

@@ -140,16 +140,13 @@
</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">
<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>