1 parent
7a280ff797
commit
fe946540cc
3 files changed
+8
No files matched your search
@@ -1,3 +1,4 @@
|
||||
* Add locations to lot trace
|
||||
|
||||
Version 7.0.0 - 2023-10-30
|
||||
--------------------------
|
||||
|
||||
@@ -187,6 +187,9 @@ class LotTrace(ModelSQL, ModelView):
|
||||
depends=['company'])
|
||||
lot = fields.Many2One('stock.lot', "Lot")
|
||||
|
||||
from_location = fields.Many2One('stock.location', "From Location")
|
||||
to_location = fields.Many2One('stock.location', "To Location")
|
||||
|
||||
quantity = fields.Float("Quantity", digits='unit')
|
||||
unit = fields.Many2One('product.uom', "Unit")
|
||||
|
||||
@@ -230,6 +233,8 @@ class LotTrace(ModelSQL, ModelView):
|
||||
move.write_date.as_('write_date'),
|
||||
move.product.as_('product'),
|
||||
move.lot.as_('lot'),
|
||||
move.from_location.as_('from_location'),
|
||||
move.to_location.as_('to_location'),
|
||||
move.quantity.as_('quantity'),
|
||||
move.unit.as_('unit'),
|
||||
move.company.as_('company'),
|
||||
|
||||
@@ -5,6 +5,8 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="document" expand="2"/>
|
||||
<field name="product" expand="1"/>
|
||||
<field name="lot" expand="1"/>
|
||||
<field name="from_location" expand="1" optional="1"/>
|
||||
<field name="to_location" expand="1" optional="1"/>
|
||||
<field name="quantity" symbol="unit"/>
|
||||
<field name="date"/>
|
||||
</tree>
|
||||
Reference in new issue
Block a user