Technical mailing list archives
Re: Locate the creation of stock_move inside of stock_pickingby
On 10/03/2015 12:42, Hakim Benoudjit wrote:<blockquote cite="mid:CAC0V5F9OUxdQ4BeozcwpJb1wDpLi_=Li2HbW_5JskbM+Ki+ZFQ@mail.gmail.com" type="cite">
This is done by writing to the one2many field, called indirectly here: https://github.com/odoo/odoo/blob/8.0/openerp/models.py#L4245Hi there
Can anyone please tell me where I can find the creation of stock_move?I know that it's related to the creation of stock_picking but I cannot find it.
I thought that maybe when I create a stock_picking, it will create its stock_moves automatically. So I started exploring orm.py's create() method but I could not find another create call inside it, that will create stock_move.I think this is valid also for sale_order with sale_order_line and account_invoice with account_invoice_line.
-- Alexandre Fayolle Chef de Projet Tel : + 33 (0)4 79 26 57 94 Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac Cedex http://www.camptocamp.com
Post to: mailto:firstname.lastname@example.org