@@ -1,3 +1,4 @@
|
||||
* Display quantity when searching product for move
|
||||
* Add packed state to internal shipment
|
||||
|
||||
Version 7.4.0 - 2024-11-04
|
||||
|
||||
@@ -182,6 +182,14 @@ class Move(Workflow, ModelSQL, ModelView):
|
||||
context={
|
||||
'company': Eval('company', -1),
|
||||
},
|
||||
search_context={
|
||||
'locations': If(Eval('from_location'),
|
||||
[Eval('from_location', -1)], []),
|
||||
'stock_date_end': (
|
||||
If(Eval('effective_date'),
|
||||
Eval('effective_date', None),
|
||||
Eval('planned_date', None))),
|
||||
},
|
||||
depends={'company'},
|
||||
help="The product that the move is associated with.")
|
||||
product_uom_category = fields.Function(
|
||||
|
||||
@@ -3,6 +3,13 @@
|
||||
this repository contains the full copyright notices and license terms. -->
|
||||
<tryton>
|
||||
<data>
|
||||
<record model="ir.ui.view" id="product_view_list_stock_move">
|
||||
<field name="model">product.product</field>
|
||||
<field name="type">tree</field>
|
||||
<field name="priority" eval="20"/>
|
||||
<field name="name">product_list_stock_move</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.action.wizard" id="wizard_recompute_cost_price">
|
||||
<field name="name">Recompute Cost Price</field>
|
||||
<field name="wiz_name">product.recompute_cost_price</field>
|
||||
|
||||
@@ -9,7 +9,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<label name="to_location"/>
|
||||
<field name="to_location"/>
|
||||
<label name="product"/>
|
||||
<field name="product"/>
|
||||
<field name="product" view_ids="stock.product_view_list_stock_move"/>
|
||||
|
||||
<notebook colspan="4">
|
||||
<page string="Move" id="move">
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<?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="code" optional="0"/>
|
||||
<field name="name" expand="1"/>
|
||||
<field name="quantity" symbol="default_uom"/>
|
||||
<field name="forecast_quantity" symbol="default_uom" optional="1"/>
|
||||
</tree>
|
||||
Reference in New Issue
Block a user