sale_order.xml 999 B

12345678910111213141516171819202122232425
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <openerp>
  3. <data>
  4. <record model="ir.module.category" id="module_category_sales_stock">
  5. <field name="name">Sales Stock Availability</field>
  6. <field name="description">Helps you see stock on quotations.</field>
  7. <field name="sequence">2</field>
  8. </record>
  9. <!-- add applications to base groups -->
  10. <record model="res.groups" id="see_stock_boolean">
  11. <field name="category_id" ref="module_category_sales_stock"/>
  12. <field name="name">Only yes/no</field>
  13. </record>
  14. <record model="res.groups" id="see_stock_value">
  15. <field name="category_id" ref="module_category_sales_stock"/>
  16. <field name="name">Stock Value</field>
  17. <!-- No lo podemos agregar porque si es asi va a mostrar los dos campos -->
  18. <!-- <field name="implied_ids" eval="[(4, ref('see_stock_boolean'))]"/> -->
  19. </record>
  20. </data>
  21. </openerp>