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.

47 lines
2.6 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.ui.view" id="view_company_credit_account_form">
  5. <field name="name">res.company.form.inherit</field>
  6. <field name="inherit_id" ref="base.view_company_form"/>
  7. <field name="model">res.company</field>
  8. <field name="type">form</field>
  9. <field name="arch" type="xml">
  10. <notebook position="inside">
  11. <page string="Account's Sign on Reports" position="inside">
  12. <group>
  13. <group>
  14. <separator string="Debitable Accounts" colspan="4"/>
  15. <label string="A debitable account is one which grows in the debit and diminishes in the credit" colspan="4"/>
  16. <label string="Keep sign on Reports for these accounts and children accounts that are within Accreditable Accounts" colspan="4"/>
  17. <field name="debit_account_ids" nolabel="1" colspan ="4" domain="[('company_id.name','=',name),('company_id.partner_id','=',partner_id),]">
  18. <tree>
  19. <field name='code'/>
  20. <field name='name'/>
  21. <field name='type'/>
  22. </tree>
  23. </field>
  24. </group>
  25. <group>
  26. <separator string="Accreditable Accounts" colspan="4"/>
  27. <label string="An accreditable account is one which grows in the credit and diminishes in the debit" colspan="4"/>
  28. <label string="Reverse sign on Reports for these accounts and children accounts that are within Debitable Accounts" colspan="4"/>
  29. <field name="credit_account_ids" nolabel="1" colspan ="4" domain="[('company_id.name','=',name),('company_id.partner_id','=',partner_id),]">
  30. <tree>
  31. <field name='code'/>
  32. <field name='name'/>
  33. <field name='type'/>
  34. </tree>
  35. </field>
  36. </group>
  37. </group>
  38. </page>
  39. </notebook>
  40. </field>
  41. </record>
  42. </data>
  43. </openerp>