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.

74 lines
3.0 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record model="ir.ui.view" id="beesdoo_product_form">
  4. <field name="name">bees.product.template.form</field>
  5. <field name="model">product.template</field>
  6. <field name="inherit_id" ref="product.product_template_only_form_view" />
  7. <field name="arch" type="xml">
  8. <field name="barcode" position="after">
  9. <field name="eco_label" />
  10. <field name="local_label" />
  11. <field name="fair_label" />
  12. <field name="origin_label" />
  13. </field>
  14. </field>
  15. </record>
  16. <record model="ir.ui.view" id="beesdoo_product_form2">
  17. <field name="name">bees.product.template.form2</field>
  18. <field name="model">product.template</field>
  19. <field name="inherit_id" ref="product.product_template_form_view" />
  20. <field name="arch" type="xml">
  21. <div name="weight" position="after">
  22. <field name="main_seller_id" string="Fournisseur Principal" />
  23. </div>
  24. </field>
  25. </record>
  26. <record model="ir.ui.view" id="beesdoo_product_label_form">
  27. <field name="name">bees.product.label.form</field>
  28. <field name="model">beesdoo.product.label</field>
  29. <field name="arch" type="xml">
  30. <form>
  31. <group>
  32. <field name="name" />
  33. <field name="type" />
  34. <field name="color_code" />
  35. </group>
  36. </form>
  37. </field>
  38. </record>
  39. <record model="ir.ui.view" id="product_template_form_view">
  40. <field name="name">bees.product</field>
  41. <field name="model">product.template</field>
  42. <field name="inherit_id" ref="product.product_template_form_view"/>
  43. <field name="arch" type="xml">
  44. <xpath expr="//group[@name='inventory']/.." position="after">
  45. <page string="Price tag">
  46. <group>
  47. <field name="label_to_be_printed"/>
  48. <field name="label_last_printed"/>
  49. </group>
  50. <group name="label" col="4">
  51. <group col="2">
  52. <separator string="Amount" colspan="4"/>
  53. <field name="display_weight"/>
  54. <field name="display_unit"/>
  55. <field name="default_reference_unit"/>
  56. <separator string="Price" colspan="4"/>
  57. <field name="total_with_vat"/>
  58. <field name="total_with_vat_by_unit"/>
  59. </group>
  60. <group col="2">
  61. <separator string="Bobo-level" colspan="4"/>
  62. <field name="eco_label"/>
  63. <field name="local_label"/>
  64. <field name="fair_label"/>
  65. <field name="origin_label"/>
  66. <separator string="Origin" colspan="4"/>
  67. <field name="main_seller_id"/>
  68. </group>
  69. </group>
  70. </page>
  71. </xpath>
  72. </field>
  73. </record>
  74. </odoo>