stock_inventory_warning.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="inventory_warning_reset_view" model="ir.ui.view">
  4. <field name="name">inventory.reset.warning.view</field>
  5. <field name="model">stock.inventory.warning</field>
  6. <field name="mode">primary</field>
  7. <field name="arch" type="xml">
  8. <form>
  9. <div>
  10. This will discard all unapplied counts, do you want to proceed?
  11. </div>
  12. <footer>
  13. <button name="action_reset" string="Continue" type="object" class="btn-primary" data-hotkey="q"/>
  14. <button name="cancel_button" string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
  15. </footer>
  16. </form>
  17. </field>
  18. </record>
  19. <record id="inventory_warning_set_view" model="ir.ui.view">
  20. <field name="name">inventory.set.warning.view</field>
  21. <field name="model">stock.inventory.warning</field>
  22. <field name="mode">primary</field>
  23. <field name="arch" type="xml">
  24. <form>
  25. <div>
  26. Some selected lines already have quantities set, they will be ignored.
  27. </div>
  28. <footer>
  29. <button name="action_set" string="Continue" type="object" class="btn-primary" data-hotkey="q"/>
  30. <button name="cancel_button" string="Discard" class="btn-secondary" special="cancel" data-hotkey="z"/>
  31. </footer>
  32. </form>
  33. </field>
  34. </record>
  35. </odoo>