first commit
This commit is contained in:
@@ -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. -->
|
||||
<form>
|
||||
<image name="tryton-question" xexpand="0" xfill="0"/>
|
||||
<label string="Do you want to cancel the request or to reset it to draft?"
|
||||
id="question" yalign="0.5" xalign="0.0" xexpand="1"/>
|
||||
</form>
|
||||
10
modules/purchase_request/view/purchase_line_form.xml
Normal file
10
modules/purchase_request/view/purchase_line_form.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. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook" position="inside">
|
||||
<page name="requests">
|
||||
<field name="requests"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?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="2" cursor="party">
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="description"/>
|
||||
<field name="description" yexpand="0"/>
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
</form>
|
||||
49
modules/purchase_request/view/purchase_request_form.xml
Normal file
49
modules/purchase_request/view/purchase_request_form.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?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>
|
||||
<notebook colspan="4">
|
||||
<page string="Product Info" id="product">
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<newline/>
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
<label name="computed_quantity"/>
|
||||
<field name="computed_quantity"/>
|
||||
<label name="computed_unit"/>
|
||||
<field name="computed_unit"/>
|
||||
<separator name="description" colspan="4"/>
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
<page string="Supply Info" id="supply">
|
||||
<label name="party"/>
|
||||
<field name="party"/>
|
||||
<newline/>
|
||||
<label name="warehouse"/>
|
||||
<field name="warehouse"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="purchase_date"/>
|
||||
<field name="purchase_date"/>
|
||||
<label name="supply_date"/>
|
||||
<field name="supply_date"/>
|
||||
<label name="purchased_by"/>
|
||||
<field name="purchased_by"/>
|
||||
<label name="purchase"/>
|
||||
<field name="purchase"/>
|
||||
<label name="stock_level"/>
|
||||
<field name="stock_level" symbol="default_uom"/>
|
||||
<label name="origin"/>
|
||||
<field name="origin"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="handle_purchase_cancellation_exception"
|
||||
icon="tryton-forward"/>
|
||||
</group>
|
||||
</form>
|
||||
16
modules/purchase_request/view/purchase_request_tree.xml
Normal file
16
modules/purchase_request/view/purchase_request_tree.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. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="product" expand="2"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="warehouse" expand="1" optional="1"/>
|
||||
<field name="party" expand="2" optional="0"/>
|
||||
<field name="purchase_date"/>
|
||||
<field name="stock_level" symbol="default_uom" optional="0"/>
|
||||
<field name="origin" optional="0"/>
|
||||
<field name="state"/>
|
||||
<button name="create_purchase" multiple="1"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user