The cost fields are not always visible so the separator may be displayed when no cost fields is. Each cost field has its own invisible statement so it will be much complex to build on for the separator than removing it.
50 lines
1.7 KiB
XML
50 lines
1.7 KiB
XML
<?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="4">
|
|
<label name="shipment"/>
|
|
<field name="shipment" colspan="3"/>
|
|
<label name="from_location"/>
|
|
<field name="from_location" view_ids="stock.location_quantity_view_list"/>
|
|
<label name="to_location"/>
|
|
<field name="to_location" view_ids="stock.location_quantity_view_list"/>
|
|
<label name="product"/>
|
|
<field name="product" view_ids="stock.product_view_list_stock_move"/>
|
|
|
|
<notebook colspan="4">
|
|
<page string="Move" id="move">
|
|
<label name="quantity"/>
|
|
<field name="quantity"/>
|
|
<label name="unit"/>
|
|
<field name="unit"/>
|
|
|
|
<label name="unit_price"/>
|
|
<field name="unit_price"/>
|
|
<label name="currency"/>
|
|
<field name="currency"/>
|
|
|
|
<label name="planned_date"/>
|
|
<field name="planned_date"/>
|
|
<label name="effective_date"/>
|
|
<field name="effective_date"/>
|
|
</page>
|
|
<page string="Other Info" id="other">
|
|
<label name="company"/>
|
|
<field name="company"/>
|
|
<label name="origin"/>
|
|
<field name="origin"/>
|
|
|
|
<label name="cost_price"/>
|
|
<field name="cost_price"/>
|
|
</page>
|
|
</notebook>
|
|
|
|
<label name="state"/>
|
|
<field name="state"/>
|
|
<group col="-1" colspan="2" id="buttons">
|
|
<button name="cancel" icon="tryton-cancel"/>
|
|
<button name="draft" icon="tryton-clear"/>
|
|
<button name="do" icon="tryton-forward"/>
|
|
</group>
|
|
</form>
|