<h2><a class="toc-backref" href="#toc-entry-1">Use Cases / Context</a></h2>
<p>In Odoo, products have their own invoicing policy that can be:</p>
<ul class="simple">
<li>Invoicing on ordered quantities</li>
<li>Invoicing on ordered quantities</li>
</ul>
<p>Following that configuration, when trying to create invoices from sale
orders, each line of product will apply its invoicing policy.</p>
<p>In some cases, user needs to apply an invoicing policy on a whole sale
order.</p>
<p>The solution proposed here is 