This commit is contained in:
2026-02-08 10:42:18 +01:00
parent 7ab361c2b8
commit 3195994444
4 changed files with 57 additions and 145 deletions

View File

@@ -24,46 +24,7 @@ this repository contains the full copyright notices and license terms. -->
<!-- <group col="2" colspan="2" id="hd" yfill="1">
<field name="viewer" widget="html_viewer" height="300" width="600"/>
</group> -->
<notebook>
<page string="Purchase" id="purchase">
<field name="lines"
mode="form" view_ids="purchase_trade.purchase_line_btb_view_form"/>
<!-- <notebook colspan="6">
<page string="State" id="state">
<group col="2" colspan="2" id="states" yfill="1">
<label name="invoice_state"/>
<field name="invoice_state"/>
<label name="shipment_state"/>
<field name="shipment_state"/>
<label name="state"/>
<field name="state"/>
</group>
<group col="2" colspan="2" id="amount" yfill="1">
<label name="untaxed_amount" xalign="1.0" xexpand="1"/>
<field name="untaxed_amount" xalign="1.0" xexpand="0"/>
<label name="tax_amount" xalign="1.0" xexpand="1"/>
<field name="tax_amount" xalign="1.0" xexpand="0"/>
<label name="total_amount" xalign="1.0" xexpand="1"/>
<field name="total_amount" xalign="1.0" xexpand="0"/>
</group>
</page>
</notebook> -->
</page>
</notebook>
<!-- <group id="links" col="-1" colspan="3">
<link icon="tryton-shipment-in" name="purchase.act_shipment_form"/>
<link icon="tryton-account" name="purchase.act_invoice_form"/>
</group>
<group col="-1" colspan="3" id="buttons">
<button name="cancel" icon="tryton-cancel"/>
<button name="draft"/>
<button name="modify_header" icon="tryton-launch"/>
<button name="quote" icon="tryton-forward"/>
<button name="handle_invoice_exception" icon="tryton-forward"/>
<button name="handle_shipment_exception" icon="tryton-forward"/>
<button name="confirm" icon="tryton-ok"/>
<button name="process"/>
<button name="manual_invoice" icon="tryton-forward"/>
</group> -->
<newline/>
<field name="lines" mode="form" view_ids="purchase_trade.purchase_line_btb_view_form"/>
<field name="party_lang" invisible="1"/>
</form>

View File

@@ -4,35 +4,33 @@ 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>
<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"/>
<newline/>
<field name="fees"/>
</form>

View File

@@ -26,48 +26,9 @@ this repository contains the full copyright notices and license terms. -->
<!-- <group col="2" colspan="2" id="hd" yfill="1">
<field name="viewer" widget="html_viewer" height="300" width="600"/>
</group> -->
<notebook>
<page string="Sale" id="sale">
<field name="lines"
mode="form" view_ids="purchase_trade.sale_line_btb_view_form"/>
<!-- <notebook colspan="6">
<page string="State" id="state">
<group col="2" colspan="2" id="states" yfill="1">
<label name="invoice_state"/>
<field name="invoice_state"/>
<label name="shipment_state"/>
<field name="shipment_state"/>
<label name="state"/>
<field name="state"/>
</group>
<group col="2" colspan="2" id="amount" yfill="1">
<label name="untaxed_amount" xalign="1.0" xexpand="1"/>
<field name="untaxed_amount" xalign="1.0" xexpand="0"/>
<label name="tax_amount" xalign="1.0" xexpand="1"/>
<field name="tax_amount" xalign="1.0" xexpand="0"/>
<label name="total_amount" xalign="1.0" xexpand="1"/>
<field name="total_amount" xalign="1.0" xexpand="0"/>
</group>
</page>
</notebook> -->
</page>
</notebook>
<!-- <group id="links" col="-1" colspan="3">
<link icon="tryton-shipment-out" name="sale.act_shipment_form"/>
<link icon="tryton-account" name="sale.act_invoice_form"/>
<link icon="tryton-shipment-in" name="sale.act_return_form"/>
</group>
<group col="-1" colspan="3" id="buttons">
<button name="cancel" icon="tryton-cancel"/>
<button name="modify_header" icon="tryton-launch"/>
<button name="draft"/>
<button name="quote" icon="tryton-forward"/>
<button name="handle_invoice_exception" icon="tryton-forward"/>
<button name="handle_shipment_exception" icon="tryton-forward"/>
<button name="confirm" icon="tryton-forward"/>
<button name="process"/>
<button name="manual_invoice" icon="tryton-forward"/>
<button name="manual_shipment" icon="tryton-forward"/>
</group> -->
<newline/>
<field name="lines" mode="form" view_ids="purchase_trade.sale_line_btb_view_form"/>
<newline/>
<field name="pnl"/>
<field name="party_lang" invisible="1"/>
</form>

View File

@@ -4,34 +4,26 @@ 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>
<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"/>
</form>