diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2017-08-11 15:56:33 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2017-11-03 09:54:30 +0100 |
| commit | 084dbf9b8f258e453c4a5958bc146c8f4c4ddbbb (patch) | |
| tree | d0b69ba0544d87630d0764f14cd422071f109af5 /setup/package.py | |
| parent | 5aebc2272233934273c1023ace78141c36f582cb (diff) | |
[FIX] stock: inventory adjustment
The inventory adjustment form is not suitable for large inventories.
First, a list view embedded in a form view is not convenient since it
doesn't provide any search capabilities. The user has to rely on the
search feature of the browser, which has restricted features in
comparison to the Odoo search field.
Then, the existing onchange mechanism coupled with computed fields
triggers heavy computations impacting all lines each time a single
line is modified. This leads to a hanging page for every inventory line
modification, which causes a non-negligeable loss of time.
This commit introduces a new tree view for inventory lines, accessible
thanks to a stat button on the inventory page. This button is available
in debug mode, if the inventory is in state 'Confirmed'. The tree view
contains the same fields than the tree view embedded in the form view,
without the flaws of the latter.
opw-760614
Diffstat (limited to 'setup/package.py')
0 files changed, 0 insertions, 0 deletions
