Community mailing list archives

community@mail.odoo.com

Re: Problem with Passing value to a custom field in delivery order

by
Md. Tanzilul Hasan Khan
- 04/28/2016 00:37:41
Hello Dominique,

Thanks for the reply. Sorry I was not specific in my first query. My field is in the one2many field, move_lines (stock.move). And on the sales order my field is in the order_line one2many field.

I can't find the function which is sending value from order_line to move_lines.

Regards,
Tanzil

On Thu, Apr 28, 2016 at 7:23 AM, Dominique KON SUN TACK <dominique.k@elico-corp.com.sg> wrote:
Hi,

you can look into the model stock.move and the method: _prepare_picking_assign
It fetches and prepares the values that are used to create the stock picking.


Cheers,


Dominique KON-SUN-TACK  [Project Manager]
Odoo Gold Partner, best Odoo Partner 2014 for APAC

Skype: dominique_elico

On 28 April 2016 at 03:34, MD Tanzilul Hasan Khan <ponkhi403@gmail.com> wrote:

Hello,


I have two custom fields. One in sales order and another is in delivery note (stock.picking). So, when the sale order is confirmed I want to pass the value to the delivery note. But I can't find the function or dictionary which is responsible for creating the delivery note from sales order on pressing the button Confirm Sale.

Can anyone help please? I am using odoo V8.

Regards,
Tanzil Khan

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


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




--
MD. Tanzilul Hasan Khan.