GoodERP
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.

44 lines
1.7KB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="goods_class_form_view" model="ir.ui.view">
  4. <field name="name">goods.class.form</field>
  5. <field name="model">goods.class</field>
  6. <field name="arch" type="xml">
  7. <form string="商品分类">
  8. <sheet>
  9. <field name="image_medium" widget="image" class="oe_avatar"/>
  10. <div class="oe_title">
  11. <label for="name"/>
  12. <h1><field name="name" string="名称" placeholder="例如: XX分类"/></h1>
  13. </div>
  14. <group name="base_info">
  15. <group>
  16. <field name="tax_rate"/>
  17. <field name="parent_id" domain="[('type','=','view')]"/>
  18. </group>
  19. <group>
  20. <field name="sequence"/>
  21. <field name="type"/>
  22. </group>
  23. </group>
  24. <field name="note"/>
  25. </sheet>
  26. <chatter/>
  27. </form>
  28. </field>
  29. </record>
  30. <record id="goods_class_list_view" model="ir.ui.view">
  31. <field name="name">goods.class.list</field>
  32. <field name="model">goods.class</field>
  33. <!-- <field name="field_parent" eval="False"/>-->
  34. <field name="arch" type="xml">
  35. <list string="商品分类">
  36. <field name="sequence" widget="handle"/>
  37. <field name="name"/>
  38. <field name="type"/>
  39. <field name="parent_id"/>
  40. </list>
  41. </field>
  42. </record>
  43. </odoo>
上海开阖软件有限公司 沪ICP备12045867号-1