GoodERP
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

55 líneas
2.3KB

  1. <?xml version="1.0"?>
  2. <odoo>
  3. <data>
  4. <!--继承账户 list,添加"查看现金银行报表"按钮-->
  5. <record id="bank_account_list_inherit_first" model="ir.ui.view">
  6. <field name="name">bank.account.list.inherit</field>
  7. <field name="model">bank.account</field>
  8. <field name='inherit_id' ref='core.bank_account_list' />
  9. <field name="arch" type="xml">
  10. <field name="balance" position="before">
  11. <field name="account_id"/>
  12. <field name="init_balance"/>
  13. </field>
  14. <field name="balance" position="after">
  15. <field name="currency_id"
  16. />
  17. <field name="currency_amount"
  18. readonly="1"
  19. />
  20. <button name="bank_statements" type="object" string="查看现金银行报表" icon="fa-search"/>
  21. </field>
  22. </field>
  23. </record>
  24. <!-- 增加期初字段 -->
  25. <record id="customer_address_form" model="ir.ui.view">
  26. <field name="model">partner</field>
  27. <field name='inherit_id' ref='core.customer_address_form'/>
  28. <field name="arch" type="xml">
  29. <field name='receivable' position='after'>
  30. <field name='receivable_init' groups="base.group_erp_manager"/>
  31. </field>
  32. <xpath expr='//div' position='before'>
  33. <div class="oe_button_box" name="button_box">
  34. <button type="object"
  35. name="action_view_money_invoice"
  36. class="oe_stat_button"
  37. icon="fa-jpy">
  38. <field name="receivable" widget="statinfo" help="应收余额"/>
  39. </button>
  40. </div>
  41. </xpath>
  42. </field>
  43. </record>
  44. <record id="supplier_address_form" model="ir.ui.view">
  45. <field name="model">partner</field>
  46. <field name='inherit_id' ref='core.supplier_address_form'/>
  47. <field name="arch" type="xml">
  48. <field name='payable' position='after'>
  49. <field name='payable_init' groups="base.group_erp_manager"/>
  50. </field>
  51. </field>
  52. </record>
  53. </data>
  54. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1