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.

30 lines
1.1 KiB

  1. <?xml version="1.0"?>
  2. <!-- Copyright 2018 - Today Sylvain LE GAL (https://twitter.com/legalsylvain)
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).-->
  4. <odoo>
  5. <record id="view_pos_order_tree" model="ir.ui.view">
  6. <field name="model">pos.order</field>
  7. <field name="inherit_id" ref="point_of_sale.view_pos_order_tree"/>
  8. <field name="arch" type="xml">
  9. <tree position="attributes">
  10. <attribute name="decoration-danger">has_picking_delayed == True</attribute>
  11. </tree>
  12. <field name="state" position="after">
  13. <field name="has_picking_delayed" invisible="1"/>
  14. </field>
  15. </field>
  16. </record>
  17. <record id="view_pos_order_form" model="ir.ui.view">
  18. <field name="model">pos.order</field>
  19. <field name="inherit_id" ref="point_of_sale.view_pos_pos_form"/>
  20. <field name="arch" type="xml">
  21. <field name="picking_id" position="after">
  22. <field name="has_picking_delayed"/>
  23. </field>
  24. </field>
  25. </record>
  26. </odoo>