You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
2.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="statement_import_map_tax_tree" model="ir.ui.view">
  4. <field name="model">account.bank.statement.import.map</field>
  5. <field name="arch" type="xml">
  6. <tree string="Txt Map">
  7. <field name="name"/>
  8. </tree>
  9. </field>
  10. </record>
  11. <record id="statement_import_map_tax_form" model="ir.ui.view">
  12. <field name="model">account.bank.statement.import.map</field>
  13. <field name="arch" type="xml">
  14. <form string="Txt Map">
  15. <group>
  16. <field name="name"/>
  17. <field name="float_thousands_sep"/>
  18. <field name="float_decimal_sep"/>
  19. <field name="file_encoding"/>
  20. <field name="delimiter"/>
  21. <field name="quotechar"/>
  22. </group>
  23. <separator string="Mapping Lines"/>
  24. <field name="map_line_ids"/>
  25. </form>
  26. </field>
  27. </record>
  28. <record id="statement_import_map_tax_line_tree" model="ir.ui.view">
  29. <field name="model">account.bank.statement.import.map.line</field>
  30. <field name="arch" type="xml">
  31. <tree string="Txt mapping lines" editable="bottom">
  32. <field name="sequence"/>
  33. <field name="name"/>
  34. <field name="field_to_assign"/>
  35. <field name="date_format" attrs="{'readonly':[('field_to_assign','!=','date')], 'required':[('field_to_assign','=','date')]}"/>
  36. </tree>
  37. </field>
  38. </record>
  39. <record id="statement_import_map_tax_line_form" model="ir.ui.view">
  40. <field name="model">account.bank.statement.import.map.line</field>
  41. <field name="arch" type="xml">
  42. <form string="Txt mapping line">
  43. <group>
  44. <group>
  45. <field name="name"/>
  46. <field name="sequence"/>
  47. <field name="field_to_assign"/>
  48. </group>
  49. </group>
  50. </form>
  51. </field>
  52. </record>
  53. <record model="ir.actions.act_window" id="action_statement_import_txt_mappging">
  54. <field name="name">Statement Import Mapping</field>
  55. <field name="res_model">account.bank.statement.import.map</field>
  56. <field name="view_type">form</field>
  57. <field name="view_mode">tree,form</field>
  58. </record>
  59. <menuitem id="menu_statement_import_txt_mapping"
  60. parent="account.account_account_menu"
  61. action="action_statement_import_txt_mappging"
  62. name="Statement Import Map"/>
  63. </odoo>