Browse Source

[FIX] account_bank_statement_import_paypal: lost wizard

12.0
Alexey Pelykh 5 years ago
parent
commit
8438c34846
  1. 44
      account_bank_statement_import_paypal/views/account_bank_statement_import_paypal_mapping.xml
  2. 17
      account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal_mapping_wizard.xml

44
account_bank_statement_import_paypal/views/account_bank_statement_import_paypal_mapping.xml

@ -30,37 +30,37 @@
<group>
<field name="float_thousands_sep"/>
<field name="float_decimal_sep"/>
</group>
<group>
<field name="date_format"/>
<field name="time_format"/>
</group>
<group string="Columns">
<field name="date_column"/>
<field name="time_column"/>
<field name="tz_column"/>
<field name="name_column"/>
<field name="currency_column"/>
<field name="gross_column"/>
<field name="fee_column"/>
<field name="balance_column"/>
<field name="transaction_id_column"/>
<field name="description_column"/>
<field name="type_column"/>
<field name="from_email_address_column"/>
<field name="to_email_address_column"/>
<field name="invoice_id_column"/>
<field name="subject_column"/>
<field name="note_column"/>
<field name="bank_name_column"/>
<field name="bank_account_column"/>
</group>
</group>
<group string="Columns">
<field name="date_column"/>
<field name="time_column"/>
<field name="tz_column"/>
<field name="name_column"/>
<field name="currency_column"/>
<field name="gross_column"/>
<field name="fee_column"/>
<field name="balance_column"/>
<field name="transaction_id_column"/>
<field name="description_column"/>
<field name="type_column"/>
<field name="from_email_address_column"/>
<field name="to_email_address_column"/>
<field name="invoice_id_column"/>
<field name="subject_column"/>
<field name="note_column"/>
<field name="bank_name_column"/>
<field name="bank_account_column"/>
</group>
</sheet>
</form>
</field>
</record>
<!-- TODO: action that launches wizard that could import file header and assume columns by number and index of colums -->
<record id="action_statement_import_paypal_report_mappings" model="ir.actions.act_window">
<field name="name">PayPal Report Mappings</field>
<field name="res_model">account.bank.statement.import.paypal.mapping</field>

17
account_bank_statement_import_paypal/wizards/account_bank_statement_import_paypal_mapping_wizard.xml

@ -22,13 +22,14 @@
</field>
</record>
<record id="action_account_bank_statement_import_paypal_mapping_wizard" model="ir.actions.act_window">
<field name="name">Import Mapping</field>
<field name="res_model">account.bank.statement.import.paypal.mapping.wizard</field>
<field name="src_model">account.bank.statement.import.paypal.mapping</field>
<field name="view_type">form</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
<act_window
id="action_account_bank_statement_import_paypal_mapping_wizard"
name="Import Mapping"
res_model="account.bank.statement.import.paypal.mapping.wizard"
src_model="account.bank.statement.import.paypal.mapping"
view_mode="form"
target="new"
key2="client_action_multi"
/>
</odoo>
Loading…
Cancel
Save