first commit
This commit is contained in:
23
modules/production/view/bom_form.xml
Normal file
23
modules/production/view/bom_form.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form col="6">
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="code"/>
|
||||
<field name="code"/>
|
||||
<label name="active"/>
|
||||
<field name="active" xexpand="0" width="100"/>
|
||||
<label name="phantom"/>
|
||||
<field name="phantom"/>
|
||||
<label name="phantom_quantity"/>
|
||||
<field name="phantom_quantity"/>
|
||||
<label name="phantom_unit"/>
|
||||
<field name="phantom_unit"/>
|
||||
<notebook colspan="6">
|
||||
<page string="Lines" id="lines" col="2">
|
||||
<field name="inputs"/>
|
||||
<field name="outputs"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
20
modules/production/view/bom_input_form.xml
Normal file
20
modules/production/view/bom_input_form.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="bom"/>
|
||||
<field name="bom"/>
|
||||
<newline/>
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<newline/>
|
||||
|
||||
<label name="phantom_bom"/>
|
||||
<field name="phantom_bom"/>
|
||||
<newline/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
</form>
|
||||
8
modules/production/view/bom_input_list.xml
Normal file
8
modules/production/view/bom_input_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="bom" expand="1"/>
|
||||
<field name="rec_name" string="Material" expand="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
</tree>
|
||||
8
modules/production/view/bom_list.xml
Normal file
8
modules/production/view/bom_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="code" expand="1"/>
|
||||
<field name="name" expand="2"/>
|
||||
<field name="phantom" expand="1" optional="1"/>
|
||||
</tree>
|
||||
20
modules/production/view/bom_output_form.xml
Normal file
20
modules/production/view/bom_output_form.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="bom"/>
|
||||
<field name="bom"/>
|
||||
<newline/>
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<newline/>
|
||||
|
||||
<label name="phantom_bom"/>
|
||||
<field name="phantom_bom"/>
|
||||
<newline/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
</form>
|
||||
8
modules/production/view/bom_output_list.xml
Normal file
8
modules/production/view/bom_output_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="bom" expand="1"/>
|
||||
<field name="rec_name" string="Material" expand="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
</tree>
|
||||
12
modules/production/view/bom_tree_open_start_form.xml
Normal file
12
modules/production/view/bom_tree_open_start_form.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="bom"/>
|
||||
<field name="bom"/>
|
||||
<newline/>
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
</form>
|
||||
6
modules/production/view/bom_tree_open_tree_form.xml
Normal file
6
modules/production/view/bom_tree_open_tree_form.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<field name="bom_tree"/>
|
||||
</form>
|
||||
8
modules/production/view/bom_tree_tree.xml
Normal file
8
modules/production/view/bom_tree_tree.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="product"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="childs" tree_invisible="1"/>
|
||||
</tree>
|
||||
9
modules/production/view/configuration_form.xml
Normal file
9
modules/production/view/configuration_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="production_sequence"/>
|
||||
<field name="production_sequence"/>
|
||||
<label name="bom_sequence"/>
|
||||
<field name="bom_sequence"/>
|
||||
</form>
|
||||
15
modules/production/view/location_form.xml
Normal file
15
modules/production/view/location_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/field[@name='picking_location']" position="after">
|
||||
<newline/>
|
||||
<label name="production_location"/>
|
||||
<field name="production_location"/>
|
||||
<newline/>
|
||||
<label name="production_picking_location"/>
|
||||
<field name="production_picking_location"/>
|
||||
<label name="production_output_location"/>
|
||||
<field name="production_output_location"/>
|
||||
</xpath>
|
||||
</data>
|
||||
12
modules/production/view/product_bom_form.xml
Normal file
12
modules/production/view/product_bom_form.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="product"/>
|
||||
<field name="product" colspan="3"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<newline/>
|
||||
<label name="bom"/>
|
||||
<field name="bom" widget="selection"/>
|
||||
</form>
|
||||
7
modules/production/view/product_bom_list.xml
Normal file
7
modules/production/view/product_bom_list.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="product"/>
|
||||
<field name="bom"/>
|
||||
</tree>
|
||||
7
modules/production/view/product_bom_list_sequence.xml
Normal file
7
modules/production/view/product_bom_list_sequence.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="bom"/>
|
||||
<field name="sequence" tree_invisible="1"/>
|
||||
</tree>
|
||||
9
modules/production/view/product_form.xml
Normal file
9
modules/production/view/product_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//page[@id='production']" position="inside">
|
||||
<field name="boms" colspan="4" view_ids="production.product-bom_view_list_sequence"/>
|
||||
<field name="production_lead_times" colspan="4" view_ids="production.production_lead_time_view_list_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
10
modules/production/view/production_calendar.xml
Normal file
10
modules/production/view/production_calendar.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<calendar
|
||||
dtstart="planned_start_date"
|
||||
dtend="planned_date">
|
||||
<field name="number"/>
|
||||
<field name="product"/>
|
||||
<field name="reference"/>
|
||||
</calendar>
|
||||
74
modules/production/view/production_form.xml
Normal file
74
modules/production/view/production_form.xml
Normal file
@@ -0,0 +1,74 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form cursor="planned_date">
|
||||
<label name="reference"/>
|
||||
<field name="reference"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
|
||||
<label name="planned_date"/>
|
||||
<field name="planned_date"/>
|
||||
<label name="planned_start_date"/>
|
||||
<field name="planned_start_date"/>
|
||||
|
||||
<label name="effective_date"/>
|
||||
<field name="effective_date"/>
|
||||
<label name="effective_start_date"/>
|
||||
<field name="effective_start_date"/>
|
||||
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="warehouse"/>
|
||||
<field name="warehouse"/>
|
||||
|
||||
<label name="type"/>
|
||||
<field name="type"/>
|
||||
<newline/>
|
||||
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<label name="bom"/>
|
||||
<field name="bom"/>
|
||||
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
<notebook>
|
||||
<page name="inputs">
|
||||
<field name="inputs" view_ids="stock.move_view_list_shipment" colspan="4"/>
|
||||
</page>
|
||||
<page name="outputs">
|
||||
<field name="outputs" view_ids="stock.move_view_list_shipment" colspan="4"/>
|
||||
</page>
|
||||
<page string="Other Info" id="other">
|
||||
<label name="location"/>
|
||||
<field name="location"/>
|
||||
<label name="origin"/>
|
||||
<field name="origin"/>
|
||||
|
||||
<label name="assigned_by"/>
|
||||
<field name="assigned_by"/>
|
||||
<label name="run_by"/>
|
||||
<field name="run_by"/>
|
||||
<label name="done_by"/>
|
||||
<field name="done_by"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label name="cost"/>
|
||||
<field name="cost"/>
|
||||
<newline/>
|
||||
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="draft"/>
|
||||
<button name="reset_bom" icon="tryton-clear"/>
|
||||
<button name="wait"/>
|
||||
<button name="assign_wizard" icon="tryton-forward"/>
|
||||
<button name="run" icon="tryton-forward"/>
|
||||
<button name="do" icon="tryton-forward"/>
|
||||
</group>
|
||||
</form>
|
||||
15
modules/production/view/production_lead_time_form.xml
Normal file
15
modules/production/view/production_lead_time_form.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<form>
|
||||
<label name="product"/>
|
||||
<field name="product" colspan="3"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<newline/>
|
||||
<label name="bom"/>
|
||||
<field name="bom" widget="selection"/>
|
||||
<newline/>
|
||||
<label name="lead_time"/>
|
||||
<field name="lead_time"/>
|
||||
</form>
|
||||
8
modules/production/view/production_lead_time_list.xml
Normal file
8
modules/production/view/production_lead_time_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="product"/>
|
||||
<field name="bom"/>
|
||||
<field name="lead_time"/>
|
||||
</tree>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree sequence="sequence" editable="1">
|
||||
<field name="bom" widget="selection"/>
|
||||
<field name="lead_time"/>
|
||||
</tree>
|
||||
14
modules/production/view/production_list.xml
Normal file
14
modules/production/view/production_list.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="reference" expand="1" optional="1"/>
|
||||
<field name="type" optional="1"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="planned_start_date" optional="0"/>
|
||||
<field name="planned_date" optional="0"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
9
modules/production/view/stock_move_form.xml
Normal file
9
modules/production/view/stock_move_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='shipment']" position="after">
|
||||
<label name="production"/>
|
||||
<field name="production" colspan="3"/>
|
||||
</xpath>
|
||||
</data>
|
||||
16
modules/production/view/template_form.xml
Normal file
16
modules/production/view/template_form.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook/page[@id='general']/group[@id='checkboxes']"
|
||||
position="inside">
|
||||
<label name="producible"/>
|
||||
<field name="producible" xexpand="0" width="25"/>
|
||||
</xpath>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page string="Production" id="production">
|
||||
<label name="producible"/>
|
||||
<field name="producible"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/production/view/template_list.xml
Normal file
8
modules/production/view/template_list.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath expr="/tree/field[@name='type']" position="after">
|
||||
<field name="producible" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user