Merge lp:~numerigraphe-team/ocb-addons/7.0-inventory-lines-sorted into lp:ocb-addons
Proposed by
Lionel Sausin - Initiatives/Numérigraphe
Status: | Merged |
---|---|
Approved by: | Holger Brunn (Therp) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 10178 |
Proposed branch: | lp:~numerigraphe-team/ocb-addons/7.0-inventory-lines-sorted |
Merge into: | lp:ocb-addons |
Diff against target: |
40 lines (+23/-0) 1 file modified
stock/stock.py (+23/-0) |
To merge this branch: | bzr merge lp:~numerigraphe-team/ocb-addons/7.0-inventory-lines-sorted |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guewen Baconnier @ Camptocamp | Needs Information | ||
Loïc Bellier - Numérigraphe (community) | code review | Approve | |
Raphaël Valyi - http://www.akretion.com | Approve | ||
Holger Brunn (Therp) | code review | Approve | |
Review via email: mp+210467@code.launchpad.net |
Description of the change
This branch makes the inventory lines sorted on location name, product name and serial number.
It greatly eases the work of inventory workers when counting big inventories.
This solution is backported from trunk-wms (future v8), with an additionnal improvement to sort on serial numbers' names instead of their IDs.
To post a comment you must log in.
In this context, I would have written get('stock. inventory. line')
self
instead of
self.pool.
but given that it's the same in upstream, I'm fine with it as it is.