4c26686ad8d7c67e8a89dcd18f4f162c48e81663
The `move_obj.write` changes the value of `quantity` in the move, but the removed_qty computation used `move.quantity` from the browse record. The browse record gets the updated value and not the old value from browse_record cache. This fix just moves the computation before the move_obj.write and includes a scenario to confirm the behavior. issue2426 review254001 (transplanted from eedeb7ba47b1363919364b40a07862ccf012db97)
trytond_stock ============= The stock module of the Tryton application platform. See __tryton__.py Installing ---------- See INSTALL Support ------- If you encounter any problems with Tryton, please don't hesitate to ask questions on the Tryton bug tracker, mailing list, wiki or IRC channel: http://bugs.tryton.org/ http://groups.tryton.org/ http://wiki.tryton.org/ irc://irc.freenode.net/tryton License ------- See LICENSE Copyright --------- See COPYRIGHT For more information please visit the Tryton web site: http://www.tryton.org/
Description
Private Tryton customization repository for reviewed Dominican localization and controlled upstream integration.
390 MiB
0 Stars
2 Watchers
0 Forks
Languages
Python
88.1%
JavaScript
11%
Less
0.5%
HTML
0.2%
NSIS
0.1%