Fix: Sale Order

This commit is contained in:
2025-02-09 20:05:22 -05:00
parent cc8e71fe60
commit 7870747ba5
5 changed files with 122 additions and 95 deletions

View File

@@ -2,9 +2,11 @@
<!-- 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>
<group col="2" id="line">
<group id="line">
<label name="product"/>
<field name="product"/>
<label name="unit"/>
<field name="unit"/>
<label name="quantity"/>
<field name="quantity"/>
<label name="unitprice"/>

View File

@@ -1,23 +1,31 @@
<?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>
<form col="6">
<label name="party"/>
<field name="party"/>
<label name="number"/>
<field name="number"/>
<label name="pickup_location"/>
<field name="pickup_location"/>
<newline/>
<label name="order_address"/>
<field name="order_address"/>
<label name="order_mobile"/>
<field name="order_mobile"/>
<newline/>
<label name="date"/>
<field name="date"/>
<field name="lines" colspan="4"
view_ids="sale_order.order_line_view_tree,sale_order.order_line_view_form"/>
<label name="total_order"/>
<field name="total_order"/>
<label name="pickup_location"/>
<field name="pickup_location"/>
<notebook colspan="6">
<page string="Order" id="Orders">
<field name="lines" colspan="4"
view_ids="sale_order.order_line_view_tree,sale_order.order_line_view_form"/>
<label name="total_order"/>
<field name="total_order"/>
</page>
</notebook>
<label name="state"/>
<field name="state"/>
<group col="-1" colspan="3" id="buttons">
<button name="confirm" string="Confirm" icon="tryton-forward"/>
</group>

View File

@@ -2,11 +2,11 @@
<!-- 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="party"/>
<field name="number"/>
<field name="pickup_location"/>
<field name="party"/>
<field name="order_address"/>
<field name="date"/>
<field name="pickup_location"/>
<field name="total_order"/>
<field name="state"/>
</tree>