main #7
@@ -17,6 +17,17 @@
|
|||||||
<field name="name">purchase_btb_form</field>
|
<field name="name">purchase_btb_form</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
||||||
|
<record model="ir.ui.view" id="purchase_line_btb_view_form">
|
||||||
|
<field name="model">purchase.line</field>
|
||||||
|
<field name="type">form</field>
|
||||||
|
<field name="name">purchase_line_btb_form</field>
|
||||||
|
</record>
|
||||||
|
<record model="ir.ui.view" id="sale_line_btb_view_form">
|
||||||
|
<field name="model">sale.line</field>
|
||||||
|
<field name="type">form</field>
|
||||||
|
<field name="name">sale_line_btb_form</field>
|
||||||
|
</record>
|
||||||
|
|
||||||
<record model="ir.ui.view" id="btb_view_list">
|
<record model="ir.ui.view" id="btb_view_list">
|
||||||
<field name="model">back.to.back</field>
|
<field name="model">back.to.back</field>
|
||||||
<field name="type">tree</field>
|
<field name="type">tree</field>
|
||||||
|
|||||||
@@ -26,8 +26,8 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
</group> -->
|
</group> -->
|
||||||
<notebook>
|
<notebook>
|
||||||
<page string="Purchase" id="purchase">
|
<page string="Purchase" id="purchase">
|
||||||
<field name="lines"/>
|
<field name="lines"
|
||||||
<!-- view_ids="purchase.purchase_line_view_tree_sequence"/> -->
|
mode="form" view_ids="purchase_trade.purchase_line_btb_view_form"/>
|
||||||
<!-- <notebook colspan="6">
|
<!-- <notebook colspan="6">
|
||||||
<page string="State" id="state">
|
<page string="State" id="state">
|
||||||
<group col="2" colspan="2" id="states" yfill="1">
|
<group col="2" colspan="2" id="states" yfill="1">
|
||||||
|
|||||||
38
modules/purchase_trade/view/purchase_line_btb_form.xml
Normal file
38
modules/purchase_trade/view/purchase_line_btb_form.xml
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
<?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="product">
|
||||||
|
<label name="purchase"/>
|
||||||
|
<field name="purchase"/>
|
||||||
|
<notebook>
|
||||||
|
<page string="General" id="general">
|
||||||
|
<label name="product"/>
|
||||||
|
<field name="product"
|
||||||
|
view_ids="purchase.product_view_list_purchase_line"/>
|
||||||
|
<label name="product_supplier"/>
|
||||||
|
<field name="product_supplier"/>
|
||||||
|
<newline/>
|
||||||
|
<label id="delivery_date" string="Delivery Date:"/>
|
||||||
|
<group id="delivery_date" col="-1">
|
||||||
|
<field name="delivery_date" xexpand="0"/>
|
||||||
|
<field name="delivery_date_edit" xexpand="0" xalign="0"/>
|
||||||
|
</group>
|
||||||
|
<label name="del_period"/>
|
||||||
|
<field name="del_period"/>
|
||||||
|
<newline/>
|
||||||
|
<label name="from_del"/>
|
||||||
|
<field name="from_del"/>
|
||||||
|
<label name="to_del"/>
|
||||||
|
<field name="to_del"/>
|
||||||
|
<newline/>
|
||||||
|
<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"/>
|
||||||
|
</page>
|
||||||
|
</notebook>
|
||||||
|
</form>
|
||||||
@@ -28,8 +28,8 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
</group> -->
|
</group> -->
|
||||||
<notebook>
|
<notebook>
|
||||||
<page string="Sale" id="sale">
|
<page string="Sale" id="sale">
|
||||||
<field name="lines"/>
|
<field name="lines"
|
||||||
<!-- view_ids="sale.sale_line_view_tree_sequence"/> -->
|
mode="form" view_ids="purchase_trade.sale_line_btb_view_form"/>
|
||||||
<!-- <notebook colspan="6">
|
<!-- <notebook colspan="6">
|
||||||
<page string="State" id="state">
|
<page string="State" id="state">
|
||||||
<group col="2" colspan="2" id="states" yfill="1">
|
<group col="2" colspan="2" id="states" yfill="1">
|
||||||
|
|||||||
37
modules/purchase_trade/view/sale_line_btb_form.xml
Normal file
37
modules/purchase_trade/view/sale_line_btb_form.xml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
<?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="product">
|
||||||
|
<label name="sale"/>
|
||||||
|
<field name="sale"/>
|
||||||
|
<label name="type"/>
|
||||||
|
<field name="type"/>
|
||||||
|
<label name="sequence"/>
|
||||||
|
<field name="sequence"/>
|
||||||
|
<notebook>
|
||||||
|
<page string="General" id="general">
|
||||||
|
<label name="product"/>
|
||||||
|
<field name="product"
|
||||||
|
view_ids="sale.product_view_list_sale_line"/>
|
||||||
|
<newline/>
|
||||||
|
<label name="del_period"/>
|
||||||
|
<field name="del_period"/>
|
||||||
|
<newline/>
|
||||||
|
<label name="from_del"/>
|
||||||
|
<field name="from_del"/>
|
||||||
|
<label name="to_del"/>
|
||||||
|
<field name="to_del"/>
|
||||||
|
<newline/>
|
||||||
|
<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"/>
|
||||||
|
<label name="shipping_date"/>
|
||||||
|
<field name="shipping_date"/>
|
||||||
|
</page>
|
||||||
|
</notebook>
|
||||||
|
</form>
|
||||||
Reference in New Issue
Block a user