19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:47 +01:00
parent accf5918df
commit 6e65e8c877
688 changed files with 225434 additions and 199401 deletions

View file

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<!-- MO Backorder -->
<record id="view_mrp_production_backorder_form" model="ir.ui.view">
<field name="name">Create Backorder</field>
@ -14,31 +14,30 @@
</p>
</group>
<field name="show_backorder_lines" invisible="1"/>
<field name="mrp_production_backorder_line_ids" nolabel="1" attrs="{'invisible': [('show_backorder_lines', '=', False)]}">
<tree create="0" delete="0" editable="top">
<field name="mrp_production_backorder_line_ids" nolabel="1" invisible="not show_backorder_lines">
<list create="0" delete="0" editable="top">
<field name="mrp_production_id" force_save="1"/>
<field name="to_backorder" widget="boolean_toggle"/>
</tree>
</list>
</field>
<footer>
<button name="action_backorder" string="Create backorder" data-hotkey="q"
colspan="1" type="object" class="btn-primary" attrs="{'invisible': [('show_backorder_lines', '!=', False)]}"/>
colspan="1" type="object" class="btn-primary" invisible="show_backorder_lines"/>
<button name="action_backorder" string="Validate" data-hotkey="q"
colspan="1" type="object" class="btn-primary" attrs="{'invisible': [('show_backorder_lines', '=', False)]}"/>
<button name="action_close_mo" type="object" string="No Backorder" attrs="{'invisible': [('show_backorder_lines', '!=', False)]}" data-hotkey="x"/>
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="z" />
colspan="1" type="object" class="btn-primary" invisible="not show_backorder_lines"/>
<button name="action_close_mo" type="object" string="No Backorder" invisible="show_backorder_lines" data-hotkey="w"/>
<button string="Discard" class="btn-secondary" special="cancel" data-hotkey="x" />
</footer>
</form>
</field>
</record>
<record id="action_mrp_production_backorder" model="ir.actions.act_window">
<field name="name">You produced less than initial demand</field>
<field name="type">ir.actions.act_window</field>
<field name="name">You produced less than the initial demand</field>
<field name="res_model">mrp.production.backorder</field>
<field name="view_mode">form</field>
<field name="target">new</field>
</record>
</data>
</odoo>
</odoo>