How to make odoo custom stock move (odoo v8 and v9)
<p>I am creating a custom module. There is an one2many field. It has -</p>
<blockquote>
<p>quantity</p>
<p>unit of measure</p>
<p>source location</p>
<p>destination location</p>
</blockquote>
<p>I need to transfer the product from source location to destination location.</p>
<p>In odoo v8 I saw two functions -</p>
<pre><code>def do_detailed_transfer(self)
</code></pre>
<p>and</p>
<pre><code>do_transfer()
</code></pre>
<p><em>But do_detailed_transfer is not available in odoo v9.</em></p>
<p>How can I create a custom stock move which will transfer products from source location to destination location for both versions?</p>
<p>Thanks.</p>