Browse Source

[FIX] account_bank_statement_import_paypal: lost wizard

12.0
Alexey Pelykh 5 years ago
parent
commit
8438c34846
  1. 6
      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

6
account_bank_statement_import_paypal/views/account_bank_statement_import_paypal_mapping.xml

@ -30,9 +30,12 @@
<group> <group>
<field name="float_thousands_sep"/> <field name="float_thousands_sep"/>
<field name="float_decimal_sep"/> <field name="float_decimal_sep"/>
</group>
<group>
<field name="date_format"/> <field name="date_format"/>
<field name="time_format"/> <field name="time_format"/>
</group> </group>
</group>
<group string="Columns"> <group string="Columns">
<field name="date_column"/> <field name="date_column"/>
<field name="time_column"/> <field name="time_column"/>
@ -53,14 +56,11 @@
<field name="bank_name_column"/> <field name="bank_name_column"/>
<field name="bank_account_column"/> <field name="bank_account_column"/>
</group> </group>
</group>
</sheet> </sheet>
</form> </form>
</field> </field>
</record> </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"> <record id="action_statement_import_paypal_report_mappings" model="ir.actions.act_window">
<field name="name">PayPal Report Mappings</field> <field name="name">PayPal Report Mappings</field>
<field name="res_model">account.bank.statement.import.paypal.mapping</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> </field>
</record> </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> </odoo>
Loading…
Cancel
Save