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:
Jordi Ballester Alomar
2020-06-10 05:57:09 +02:00
committed by Carlos Roca
parent bd3865bd9f
commit b847d3827d
5 changed files with 12 additions and 13 deletions

View File

@@ -6,7 +6,7 @@
{
'name': 'PayPal CSV Format Bank Statements Import',
'summary': 'Import PayPal CSV files as Bank Statements in Odoo',
'version': '12.0.2.2.0',
'version': '12.0.2.2.1',
'category': 'Accounting',
'website': 'https://github.com/OCA/bank-statement-import',
'author':

View File

@@ -143,8 +143,8 @@ msgid "Account Bank Statement Import PayPal Parser"
msgstr ""
#. module: account_bank_statement_import_paypal
#: model_terms:ir.ui.view,arch_db:account_bank_statement_import_paypal.account_bank_statement_import_paypal_mapping_wizard_form
msgid "Cancel"
#: model:ir.model.fields,field_description:account_bank_statement_import_paypal.field_account_bank_statement_import_paypal_mapping_wizard__allow_back
msgid "Allow Back"
msgstr ""
#. module: account_bank_statement_import_paypal

View File

@@ -147,9 +147,9 @@ msgid "Account Bank Statement Import PayPal Parser"
msgstr ""
#. module: account_bank_statement_import_paypal
#: model_terms:ir.ui.view,arch_db:account_bank_statement_import_paypal.account_bank_statement_import_paypal_mapping_wizard_form
msgid "Cancel"
msgstr "Cancelar"
#: model:ir.model.fields,field_description:account_bank_statement_import_paypal.field_account_bank_statement_import_paypal_mapping_wizard__allow_back
msgid "Allow Back"
msgstr ""
#. module: account_bank_statement_import_paypal
#: model_terms:ir.ui.view,arch_db:account_bank_statement_import_paypal.account_bank_statement_import_paypal_mapping_wizard_form
@@ -343,3 +343,6 @@ msgstr "punto (.)"
#: selection:account.bank.statement.import.paypal.mapping,float_thousands_sep:0
msgid "none"
msgstr "nada"
#~ msgid "Cancel"
#~ msgstr "Cancelar"

View File

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

View File

@@ -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>