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.

66 lines
2.5 KiB

9 years ago
  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="invoice_policy" position="attributes">
  9. <attribute name="invisible">1</attribute>
  10. </field>
  11. <field name="purchase_method" position="attributes">
  12. <attribute name="invisible">1</attribute>
  13. </field>
  14. <field name="route_ids" position="attributes">
  15. <attribute name="invisible">1</attribute>
  16. </field>
  17. <group name="sale_condition" position="attributes">
  18. <attribute name="invisible">1</attribute>
  19. </group>
  20. <field name="property_account_creditor_price_difference" position="attributes">
  21. <attribute name="invisible">1</attribute>
  22. </field>
  23. <xpath expr="//group[@name='inventory']/.." position="after">
  24. <page string="Label">
  25. <group>
  26. <group name="label">
  27. <field name="total_with_vat"/>
  28. <field name="display_weight"/>
  29. <field name="display_unit" />
  30. <field name="default_reference_unit"/>
  31. <field name="total_with_vat_by_unit" />
  32. <field name="total_deposit" />
  33. </group>
  34. <group>
  35. <field name="main_seller_id" />
  36. <field name="eco_label"/>
  37. <field name="local_label"/>
  38. <field name="fair_label"/>
  39. <field name="origin_label"/>
  40. <field name="label_to_be_printed"/>
  41. <field name="label_last_printed"/>
  42. </group>
  43. </group>
  44. </page>
  45. </xpath>
  46. </field>
  47. </record>
  48. <record model="ir.ui.view" id="beesdoo_product_label_form">
  49. <field name="name">bees.product.label.form</field>
  50. <field name="model">beesdoo.product.label</field>
  51. <field name="arch" type="xml">
  52. <form>
  53. <group>
  54. <field name="name" />
  55. <field name="type" />
  56. <field name="color_code" />
  57. </group>
  58. </form>
  59. </field>
  60. </record>
  61. </odoo>