-
- Downloads
[IMP] sale_stock: decrease ordered qty log impacted pickings
When the user decrease the quantity on the SO it will log the activity on a the upsteam documents however the user can't easily find the impacted documents linked to it. In order to achieve that the _get_upstream_documents_and_responsibles method pass a stack that remember all the documents browsed in order to return the final document. This stack is then passed in the _render_method in log activity in order to use it when rendering the note for the activity.
Showing
- addons/mrp/models/stock_move.py 3 additions, 3 deletionsaddons/mrp/models/stock_move.py
- addons/purchase/models/stock.py 3 additions, 3 deletionsaddons/purchase/models/stock.py
- addons/purchase_requisition/models/purchase_requisition.py 3 additions, 3 deletionsaddons/purchase_requisition/models/purchase_requisition.py
- addons/sale_stock/models/sale_order.py 2 additions, 0 deletionsaddons/sale_stock/models/sale_order.py
- addons/sale_stock/views/stock_views.xml 18 additions, 12 deletionsaddons/sale_stock/views/stock_views.xml
- addons/stock/models/stock_move.py 5 additions, 4 deletionsaddons/stock/models/stock_move.py
- addons/stock/models/stock_picking.py 9 additions, 3 deletionsaddons/stock/models/stock_picking.py
Loading
Please register or sign in to comment