<div dir="ltr">I believe what  you are looking for is  this file: vtigercrm/modules/Inventory/views/Edit.php at around line 85:<div><br></div><div><img src="cid:ii_l1edtz1l0" alt="image.png" width="562" height="175"><br></div><div><br></div><div>That else statement handles the case when you are creating a new record from a sales order or quote (if I'm not mistaken). If it's not exactly there, it should be very close.</div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 30, 2022 at 8:11 PM Alexander Allen <<a href="mailto:alexander.allenz@gmail.com">alexander.allenz@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello. Talking about inventory related modules. There is an option to create sales orders from quotes and it copy all the fields from one module to another.<div><br></div><div>My question is wich function does this. I need to only copy services related lines but not products in line items section.</div><div><br></div><div>Can someone help me?</div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>