The purchase line does not required to have a product, so the purchase request should behave the same. A description field is added to be used instead of the product name as purchase line description. The unit price is only computed if it is not yet set and if there is a product. issue5670 review27431002
16 lines
475 B
XML
16 lines
475 B
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. -->
|
|
<tree>
|
|
<field name="product"/>
|
|
<field name="description"/>
|
|
<field name="quantity"/>
|
|
<field name="uom"/>
|
|
<field name="warehouse"/>
|
|
<field name="party"/>
|
|
<field name="purchase_date"/>
|
|
<field name="stock_level"/>
|
|
<field name="company"/>
|
|
<field name="state"/>
|
|
</tree>
|