diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/mrp/wizard/mrp_immediate_production_views.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/mrp/wizard/mrp_immediate_production_views.xml')
| -rw-r--r-- | addons/mrp/wizard/mrp_immediate_production_views.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/addons/mrp/wizard/mrp_immediate_production_views.xml b/addons/mrp/wizard/mrp_immediate_production_views.xml new file mode 100644 index 00000000..9c98f67c --- /dev/null +++ b/addons/mrp/wizard/mrp_immediate_production_views.xml @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8"?> +<odoo> + <record id="view_immediate_production" model="ir.ui.view"> + <field name="name">mrp.immediate.production.view.form</field> + <field name="model">mrp.immediate.production</field> + <field name="arch" type="xml"> + <form string="Immediate production?"> + <group> + <p>You have not recorded <i>produced</i> quantities yet, by clicking on <i>apply</i> Odoo will produce all the finished products and consume all components.</p> + </group> + + <field name="show_productions" invisible="1"/> + <field name="immediate_production_line_ids" nolabel="1" attrs="{'invisible': [('show_productions', '=', False)]}">> + <tree create="0" delete="0" editable="top"> + <field name="production_id"/> + <field name="to_immediate" widget="boolean_toggle"/> + </tree> + </field> + + <footer> + <button name="process" string="Apply" type="object" class="btn-primary"/> + <button string="Cancel" class="btn-secondary" special="cancel" /> + </footer> + </form> + </field> + </record> +</odoo> |
