first commit
This commit is contained in:
10
modules/purchase_requisition/view/configuration_form.xml
Normal file
10
modules/purchase_requisition/view/configuration_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/field[@name='purchase_invoice_method']"
|
||||
position="after">
|
||||
<label name="purchase_requisition_sequence"/>
|
||||
<field name="purchase_requisition_sequence"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,48 @@
|
||||
<?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="employee"/>
|
||||
<field name="employee"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
<label name="description"/>
|
||||
<field name="description" colspan="3"/>
|
||||
<notebook>
|
||||
<page string="Requisition" id="requisition">
|
||||
<label name="supply_date"/>
|
||||
<field name="supply_date"/>
|
||||
<newline/>
|
||||
<label name="warehouse"/>
|
||||
<field name="warehouse"/>
|
||||
<label name="currency"/>
|
||||
<field name="currency"/>
|
||||
<field name="lines" colspan="4"
|
||||
view_ids="purchase_requisition.purchase_requisition_line_view_list_sequence"/>
|
||||
<label id="empty" colspan="2"/>
|
||||
<group col="2" colspan="2" id="amount" yfill="1">
|
||||
<label name="total_amount" xalign="1.0" xexpand="1" xfill="0"/>
|
||||
<field name="total_amount" xalign="1.0" xexpand="0"/>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Other Info" id="other_info">
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<newline/>
|
||||
<label name="approved_by"/>
|
||||
<field name="approved_by"/>
|
||||
<label name="rejected_by"/>
|
||||
<field name="rejected_by"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
<group col="-1" colspan="2" id="buttons">
|
||||
<button name="cancel" icon="tryton-cancel"/>
|
||||
<button name="reject" icon="tryton-close"/>
|
||||
<button name="draft"/>
|
||||
<button name="wait" icon="tryton-forward"/>
|
||||
<button name="approve" icon="tryton-ok"/>
|
||||
<button name="process"/>
|
||||
</group>
|
||||
</form>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?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="requisition"/>
|
||||
<field name="requisition"/>
|
||||
<label name="sequence"/>
|
||||
<field name="sequence"/>
|
||||
<notebook colspan="4">
|
||||
<page string="General" id="general">
|
||||
<label name="product"/>
|
||||
<field name="product" view_ids="purchase.product_view_list_purchase_line"/>
|
||||
<label name="supplier"/>
|
||||
<field name="supplier"/>
|
||||
<label name="quantity"/>
|
||||
<field name="quantity"/>
|
||||
<label name="unit"/>
|
||||
<field name="unit"/>
|
||||
<label name="unit_price"/>
|
||||
<field name="unit_price"/>
|
||||
<label name="amount"/>
|
||||
<field name="amount"/>
|
||||
<separator name="description" colspan="4"/>
|
||||
<field name="description" colspan="4"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
@@ -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. -->
|
||||
<tree>
|
||||
<field name="requisition" expand="1"/>
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="supplier" expand="1" optional="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<tree sequence="sequence">
|
||||
<field name="requisition" expand="1"/>
|
||||
<field name="product" expand="1" optional="0"/>
|
||||
<field name="summary" expand="1" optional="1"/>
|
||||
<field name="supplier" expand="1" optional="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="amount"/>
|
||||
</tree>
|
||||
@@ -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. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="number" expand="1"/>
|
||||
<field name="supply_date" optional="0"/>
|
||||
<field name="employee" expand="2" optional="0"/>
|
||||
<field name="warehouse" expand="1" optional="1"/>
|
||||
<field name="total_amount" optional="0"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user