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
3.7 KiB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <odoo>
  3. <data>
  4. <record id="account_report_standard_view" model="ir.ui.view">
  5. <field name="name">Standard Ledger</field>
  6. <field name="model">account.report.standard.ledger</field>
  7. <field name="arch" type="xml">
  8. <form string="Report Options" class="oe_form_configuration">
  9. <header>
  10. <button name="action_view_lines" string="View Lines" type="object"/>
  11. <button name="print_pdf_report" string="Print PDF" type="object" default_focus="1" class="oe_highlight"/>
  12. <button name="print_excel_report" string="Excel File" type="object"/>
  13. </header>
  14. <field name="company_id" invisible="1"/>
  15. <h1>Standard Accounting Report</h1>
  16. <group col="4">
  17. <field name="type_ledger" widget="radio"/>
  18. <field name="summary"/>
  19. </group>
  20. <group col="4">
  21. <field name="target_move"/>
  22. <field name="reconciled" attrs="{'readonly': [('type_ledger', 'not in', ('partner', 'aged',))]}"/>
  23. <field name="compact_account" attrs="{'readonly': [('type_ledger', '!=', 'general')]}"/>
  24. <field name="result_selection" attrs="{'invisible': [('type_ledger', 'not in', ('partner', 'aged',))]}"/>
  25. </group>
  26. <group col="4">
  27. <field name="periode_date" widget="selection"/>
  28. <field name="month_selec" widget="selection"/>
  29. </group>
  30. <group col="2">
  31. <group>
  32. <field name="date_from"/>
  33. </group>
  34. <group>
  35. <field name="date_to"/>
  36. </group>
  37. </group>
  38. <group>
  39. <field name="journal_ids" widget="many2many_tags" options="{'no_create': True}"/>
  40. </group>
  41. <group col="3">
  42. <field name="partner_select_ids" widget="many2many_tags" options="{'no_create': True}" attrs="{'invisible': [('type_ledger', 'not in', ('partner', 'aged',))]}"/>
  43. </group>
  44. <group col="4">
  45. <field name="account_in_ex_clude" widget="many2many_tags" options="{'no_create': True}"/>
  46. <field name="account_methode" attrs="{'invisible':[('account_in_ex_clude', '=', [])]}"/>
  47. </group>
  48. <group col="4">
  49. <field name="init_balance_history"/>
  50. <field name="company_currency_id"/>
  51. <field name="company_id"/>
  52. </group>
  53. </form>
  54. </field>
  55. </record>
  56. <record id="action_account_standard_report_menu" model="ir.actions.act_window">
  57. <field name="name">Standard Report</field>
  58. <field name="type">ir.actions.act_window</field>
  59. <field name="res_model">account.report.standard.ledger</field>
  60. <field name="view_type">form</field>
  61. <field name="view_mode">form</field>
  62. <field name="view_id" ref="account_report_standard_view"/>
  63. <field name="target">inline</field>
  64. </record>
  65. <menuitem id="menu_account_standard_report" name="Standard Report" sequence="0" parent="account.menu_finance_reports" action="action_account_standard_report_menu" groups="account.group_account_manager,account.group_account_user"/>
  66. </data>
  67. </odoo>