diff --git a/addons/stock/report/lot_location.rml b/addons/stock/report/lot_location.rml index 74c47c1f0a4..c7524d13691 100644 --- a/addons/stock/report/lot_location.rml +++ b/addons/stock/report/lot_location.rml @@ -2,7 +2,7 @@ - + @@ -10,96 +10,199 @@ - - - - - - - - - - - - + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ repeatIn(objects,'o') ]] - [[ repeatIn(objects,'o') ]] - - [[ repeatIn(process(o.id),'ob') ]] - - - [[ not ob['product'] and removeParentNode('blockTable') ]] Location - Product - Quantity - - + [[ repeatIn(process(o.id),'ob') ]] + - [[ ob['location_name'] ]] - - - - - - [[ repeatIn(ob['product'], 'p') ]] - [[ p['prod_name'] ]] - [[ p['prod_qty'] ]] - [[ p['uom'] ]] - - - - Total : - [[ ob['total'] ]] - Units + + [[ (not ob['product']) and removeParentNode('blockTable') ]] Location + + + Product + + + Quantity + + + + + + - - - - + + + + - Grand Total: - - [[ qty_total() ]] - Units + + [[ (not ob['product']) and removeParentNode('blockTable') ]] [[ ob['location_name'] ]] + + + + + + + + + + + + + + + + + + [[ repeatIn(ob['product'], 'p') ]] + + + + + + + + + [[ p['prod_name'] ]] + + + [[ p['prod_qty'] ]] + + + [[ p['uom'] ]] + + + + + + + + + + + + + + [[ (not ob['product']) and removeParentNode('blockTable') ]] + + + Total : + + + [[ ob['total'] ]] + + + Units + + + + + + + + + + + + + + + Grand Total: + + + + + + + + [[ qty_total() ]] + + + Units + + + + + + diff --git a/addons/stock/report/lot_overview.rml b/addons/stock/report/lot_overview.rml index 74026aea1a7..b26c9842636 100644 --- a/addons/stock/report/lot_overview.rml +++ b/addons/stock/report/lot_overview.rml @@ -2,7 +2,7 @@ - + @@ -10,104 +10,290 @@ - + - + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + - [[ repeatIn(objects,'o') ]] + [[ repeatIn(objects,'o') ]] - [[ repeatIn(process(o.id),'ob') ]] - - - [[ not ob['product'] and removeParentNode('blockTable') ]] Location - Product - Variants - Quantity - UoM - Unit Price - Value - - - [[ ob['location_name'] ]] - - - - - - - - - [[ repeatIn(ob['product'],'p') ]] - [[ p['prod_name'] ]] - [[ p['variants'] ]] - [[ p['prod_qty'] ]] - [[ p['uom'] ]] - [[ p['price'] ]] - [[ p['price_value'] ]] - - - - Total: - - - - - [[ price_total() ]] - - - - - - + [[ repeatIn(process(o.id),'ob') ]] + - Grand Total: - - - - - - [[ grand_total_price() ]] + + [[ (not ob['product']) and removeParentNode('blockTable') ]] Location + + + Product + + + Variants + + + Amount + + + UoM + + + Unit Price + + + Value + + + + + + + + [[ (not ob['product']) and removeParentNode('blockTable') ]] [[ ob['location_name'] ]] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ repeatIn(ob['product'],'p') ]] + + + + + + + + + [[ p['prod_name'] ]] + + + [[ p['variants'] ]] + + + [[ p['prod_qty'] ]] + + + [[ p['uom'] ]] + + + [[ p['price'] ]] + + + [[ p['price_value'] ]] + + + + + + + + + + + [[ (not ob['product']) and removeParentNode('blockTable') ]] + + + Total: + + + + + + + + + + + + + + + + + + + + + + + [[ price_total() ]] + + + + + + + + + + + + + + + + + + Grand Total: + + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ grand_total_price() ]] + + + + + + diff --git a/addons/stock/report/lot_overview_all.rml b/addons/stock/report/lot_overview_all.rml index 04d9d066343..03ebff7dedc 100644 --- a/addons/stock/report/lot_overview_all.rml +++ b/addons/stock/report/lot_overview_all.rml @@ -2,7 +2,7 @@ - + @@ -10,107 +10,316 @@ - + - + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + - [[ repeatIn(objects,'o') ]] + [[ repeatIn(objects,'o') ]] - [[ repeatIn(process(o.id),'ob') ]] - - - [[ not ob['product'] and removeParentNode('blockTable') ]] Location - Code - Product - Variants - Amount - UoM - UnitPrice - Value - - - [[ ob['location_name'] ]] - - - - - - - - + [[ repeatIn(process(o.id),'ob') ]] + - [[ repeatIn(ob['product'],'p') ]] - [[ p['code'] ]] - [[ p['prod_name'] ]] - [[ p['variants'] ]] - [[ p['prod_qty'] ]] - [[ p['uom'] ]] - [[ p['price'] ]] - [[ p['price_value'] ]] - - - - Total: - - - - - - [[ price_total() ]] + + [[ (not ob['product']) and removeParentNode('blockTable') ]] Location + + + Code + + + Product + + + Variants + + + Amount + + + UoM + + + Unit Price + + + Value + + + + + + + + [[ (not ob['product']) and removeParentNode('blockTable') ]] [[ ob['location_name'] ]] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ repeatIn(ob['product'],'p') ]] + + + + + + + + + [[ p['code'] ]] + + + [[ p['prod_name'] ]] + + + [[ p['variants'] ]] + + + [[ p['prod_qty'] ]] + + + [[ p['uom'] ]] + + + [[ p['price'] ]] + + + [[ p['price_value'] ]] + + + + + + + + + + + [[ (not ob['product']) and removeParentNode('blockTable') ]] + + + Total: + + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ price_total() ]] + + + + + + + + + - - - Grand Total: - - - - - - - [[ grand_total_price() ]] - - + + + + + + + Grand Total: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [[ grand_total_price() ]] + + + + + +