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.

46 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="arch" type="xml">
  9. <notebook position="inside">
  10. <page string="Account's Sign on Reports" position="inside">
  11. <group>
  12. <group>
  13. <separator string="Debitable Accounts" colspan="4"/>
  14. <label string="A debitable account is one which grows in the debit and diminishes in the credit" colspan="4"/>
  15. <label string="Keep sign on Reports for these accounts and children accounts that are within Accreditable Accounts" colspan="4"/>
  16. <field name="debit_account_ids" nolabel="1" colspan ="4" domain="[('company_id.name','=',name),('company_id.partner_id','=',partner_id),]">
  17. <tree>
  18. <field name='code'/>
  19. <field name='name'/>
  20. <field name='type'/>
  21. </tree>
  22. </field>
  23. </group>
  24. <group>
  25. <separator string="Accreditable Accounts" colspan="4"/>
  26. <label string="An accreditable account is one which grows in the credit and diminishes in the debit" colspan="4"/>
  27. <label string="Reverse sign on Reports for these accounts and children accounts that are within Debitable Accounts" colspan="4"/>
  28. <field name="credit_account_ids" nolabel="1" colspan ="4" domain="[('company_id.name','=',name),('company_id.partner_id','=',partner_id),]">
  29. <tree>
  30. <field name='code'/>
  31. <field name='name'/>
  32. <field name='type'/>
  33. </tree>
  34. </field>
  35. </group>
  36. </group>
  37. </page>
  38. </notebook>
  39. </field>
  40. </record>
  41. </data>
  42. </openerp>