Community mailing list archives

community@mail.odoo.com

Re: Inventory Adjustments in odoo version 7

by
NUMERIGRAPHE, Lionel Sausin
- 06/03/2015 08:13:30
Le 03/06/2015 02:45, Naran M a écrit :
<blockquote cite="mid:6016AC03-9DAC-40ED-8904-4E0960994BB5@gmail.com" type="cite">https://github.com/OCA/stock-logistics-workflow/tree/7.0/stock_move_backdating

You should be able to search in the OCA stock related modules.
Regarding backdated inventories in particular, you may be interested in this branch :
    https://github.com/numerigraphe/odoo/tree/7.0-inventory-move-date
...and particularly in commit 71fc996de1a7737614bf2c32bd221e86fd84c139 by Loïc Bellier: https://github.com/numerigraphe/odoo/commit/71fc996de1a7737614bf2c32bd221e86fd84c139
Basically that forces the stock moves to be dated at the date of inventory.

BUT BEWARE! doing this in v7 was easy because all stock levels are computed in real-time based on Stock Moves.
v8 is a lot faster and more powerful with the new system of quants, BUT the price we pay for that is that writing stock backdated moves is complex, error prone and should be avoided.
I'm not sure it would disrupt the space-time continuum if you backdate moves in v8, but I expect it would cause subtle bugs that are sure to be a PITA debugging.