GoodERP
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

42 lines
2.0KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="customer_address_form_inherit" model="ir.ui.view">
  4. <field name="name">customer.address.form.inherit</field>
  5. <field name="model">partner</field>
  6. <field name="inherit_id" ref="core.customer_address_form"/>
  7. <field name="arch" type="xml">
  8. <page name='fin' position="before">
  9. <page name="goods" string="销售商品">
  10. <field name="customer_goods_ids" colspan="2" nolabel="1" groups='goods.view_cost_groups'>
  11. <list string="goods" editable="bottom">
  12. <field name="goods_id" optional="show"/>
  13. <field name="price" optional="show"/>
  14. <field name="min_qty" optional="show"/>
  15. <field name="date" optional="show"/>
  16. <field name="note" optional="show"/>
  17. </list>
  18. </field>
  19. </page>
  20. </page>
  21. </field>
  22. </record>
  23. <record id="sell_goods_form" model="ir.ui.view">
  24. <field name="name">sell.goods.form</field>
  25. <field name="model">goods</field>
  26. <field name="inherit_id" ref="goods.goods_form"/>
  27. <field name="arch" type="xml">
  28. <xpath expr="//page[@name='sell_info']" position="inside">
  29. <field name="customer_ids" colspan="2" nolabel="1" groups='goods.view_cost_groups'>
  30. <list string="goods" editable="bottom">
  31. <field name="sequence" widget="handle"/>
  32. <field name="customer_id" context="{'form_view_ref': 'core.supplier_address_form'}" optional="show"/>
  33. <field name="price" optional="show"/>
  34. <field name="min_qty" optional="show"/>
  35. <field name="date" optional="show"/>
  36. <field name="note"/>
  37. </list>
  38. </field>
  39. </xpath>
  40. </field>
  41. </record>
  42. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1