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', 'name': 'PayPal CSV Format Bank Statements Import',
'summary': 'Import PayPal CSV files as Bank Statements in Odoo', 'summary': 'Import PayPal CSV files as Bank Statements in Odoo',
'version': '12.0.2.2.0', 'version': '12.0.2.2.1',
'category': 'Accounting', 'category': 'Accounting',
'website': 'https://github.com/OCA/bank-statement-import', 'website': 'https://github.com/OCA/bank-statement-import',
'author': 'author':

View File

@@ -143,8 +143,8 @@ msgid "Account Bank Statement Import PayPal Parser"
msgstr "" msgstr ""
#. module: account_bank_statement_import_paypal #. 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 #: model:ir.model.fields,field_description:account_bank_statement_import_paypal.field_account_bank_statement_import_paypal_mapping_wizard__allow_back
msgid "Cancel" msgid "Allow Back"
msgstr "" msgstr ""
#. module: account_bank_statement_import_paypal #. module: account_bank_statement_import_paypal

View File

@@ -147,9 +147,9 @@ msgid "Account Bank Statement Import PayPal Parser"
msgstr "" msgstr ""
#. module: account_bank_statement_import_paypal #. 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 #: model:ir.model.fields,field_description:account_bank_statement_import_paypal.field_account_bank_statement_import_paypal_mapping_wizard__allow_back
msgid "Cancel" msgid "Allow Back"
msgstr "Cancelar" msgstr ""
#. module: account_bank_statement_import_paypal #. 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 #: 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 #: selection:account.bank.statement.import.paypal.mapping,float_thousands_sep:0
msgid "none" msgid "none"
msgstr "nada" msgstr "nada"
#~ msgid "Cancel"
#~ msgstr "Cancelar"

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

@@ -143,12 +143,8 @@
</group> </group>
</group> </group>
</xpath> </xpath>
<xpath expr="//div[@name='final_buttons']/button" position="attributes"> <xpath expr="//div[@name='states_buttons']/button" position="before">
<attribute name="class">btn-default</attribute> <button name="import_mapping" string="Import" type="object" class="btn-primary" attrs="{'invisible': [('state', '!=', 'final')]}"/>
<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> </xpath>
</field> </field>
</record> </record>