Community mailing list archives

community@mail.odoo.com

Re: V8 - Inventory date

by
AVANZOSC, S.L., Ana Juaristi Olalde
- 01/11/2016 04:42:33
The only thing is needed to create an inventory at date, is to calculate correctly the theoretical and adjusment quantity and take the correct product cost.

My functional aproach if we had to develop this behavior would be:

1. Make editable and mandatory the date on inventory header. It must be informed before calculating theoretical quantities for each product
2. Select correct filters
3. On start inventory button --> CHANGE actual behavior to calculate theoretical quantities, taking only stock moves created before the inventory date, or... calculate theoretical quantities, taking data from quants created before the inventory date.
Take the product cost for that date from "product history cost" table (so, new inventory aproach should be dependent of product history cost module)
4. On validate button --> Create movements and adjustement quants setting on them the inventory date.

That's all. If theoretical quantity in a date is correct I think everything should work with no more impacts. Please let me know about holes or problems that you find on this aproach.

Thank you:

Ana

2016-01-11 10:12 GMT+01:00 Leonardo Pistone <leonardo.pistone@camptocamp.com>:
I also think you can't (easily) through inventories. It might not be
enough to change dates of moves and quants afterwards: I feel that
could break things like existing reservations and quants,
historisation and the like.

I can't say if the stock_move_backdating module would work
(https://github.com/OCA/stock-logistics-workflow/pull/142).

However, I'd be confident things might work if you are in a special,
simpler scenario: for example you want to create moves dated 2
january, but there are no moves dated after that date.

On Sun, Jan 10, 2016 at 8:12 AM, Stefano Sforzi
<stefano.sforzi@agilebg.com> wrote:
> Hello,
> our customer has the requirement to create an inventory at 02 January
> but Odoo create an inventory adjustment only with today date.
> Any idea?

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
CEO Avanzosc, S.L : Office phone / Tfono oficina: (+34) 943 02 69 02
Ana Juaristi Olalde : Personal phone: 677 93 42 59. User/usuario skype: Avanzosc
www.openerpsite.com


El contenido de esta comunicación y de toda su documentación anexa es confidencial y se dirige exclusivamente a su destinatario. El uso no autorizado de esta información está prohibido por la legislación vigente. Si usted no es el destinatario le rogamos nos lo indique, no comunique su contenido a terceros y proceda a su destrucción. Disculpe las molestias que le haya ocasionado la recepción indebida de este e-mail. Sus datos figuran en un fichero cuyo titular es Avanzosc, S.L., a quien usted puede dirigirse para ejercer sus derechos de acceso, rectificación, cancelación y oposición en Klara Donea 13, 20720, Azkoitia (Gipuzkoa), Tef. 943 02 69 02 - administracion@avanzosc.es

Komunikazio honen edukia eta dokumentazio erantsia konfidentziala da eta hartzaileak bakarrik jaso beharko luke. Indarrean dagoen legeriak debekatu egiten du bertan eskainitako informazioa baimenik gabe erabiltzea. Komunikazioa zuri iritsi bazaizu, baina zu ez bazara hartzailea, mesedez, guri jakinarazi, eta jasotako informazioa ez inori jakinarazi eta suntsitu. Barkatu okerreko email hau jasotzeak eragindako eragozpenak. Zure datuak Avanzosc, S.L. enpresaren fitxategietan sartuta daude. Zure datuak atzitzea eska dezakezu, bai eta, datuak zuzentzea, ezereztea eta tratamenduari aurka egitea ere. Horretarako, enpresara jo dezakezu, helbide honetan: Klara Donea 13 20720, Azkoitia (Gipuzkoa), telefonoa: 943 02 69 02 - administracion@avanzosc.es
This message and all documents attached to it are confidential and intended only for the person or entity to which it is addressed. Any use of this information by unauthorised persons is prohibited under current legislation. If you received this message by error, please advise us, destroy it and refrain from communicating its contents to third parties. We apologise for any inconvenience receiving this email improperly may cause to you. Your personal data are included in a file owned by Avanzosc, S.L. If you want to exercise your rights of access, correction, erasure and objection you can contact the Controller at Klara Donea 13 20720, Azkoitia (Gipuzkoa), T: 943 02 69 02 – administracion@avanzosc.es