Search 1.9 billion lines of Odoo code on GitHub

purchase_invoice_from_picking

Author: Numigi
License: no license
Branch: 11.0
Repository: Numigi/odoo-purchase-addons
Dependencies: purchase, stock, and stock_picking_supplier_reference
Languages: PO File (56, 11.7%), Python (336, 70.3%), and XML (86, 18.0%)
Other branches: 12.0, 14.0, TA#49456, TA#50304, and qtip_20220127_1938
Other repositories: Comunitea/CMNT_25_15_GZ

<h1 class="title">Purchase Invoice From Picking</h1> <p>This module allows to generate supplier invoice lines from receipt pickings.</p> <div class="contents topic" id="table-of-contents"> <p class="topic-title first">Table of Contents</p> <ul class="simple"> <li><a class="reference internal" href="#context" id="id1">Context</a></li> <li><a class="reference internal" href="#overview" id="id2">Overview</a></li> <li><a class="reference internal" href="#usage" id="id3">Usage</a><ul> <li><a class="reference internal" href="#purchase-order" id="id4">Purchase Order</a></li> <li><a class="reference internal" href="#receipt" id="id5">Receipt</a></li> <li><a class="reference internal" href="#invoice" id="id6">Invoice</a></li> </ul> </li> <li><a class="reference internal" href="#invoiced-partially-invoiced-filters" id="id7">Invoiced / Partially Invoiced Filters</a><ul> <li><a class="reference internal" href="#credit-notes-returns" id="id8">Credit Notes / Returns</a></li> </ul> </li> <li><a class="reference internal" href="#forcing-a-picking-as-invoiced" id="id9">Forcing A Picking As Invoiced</a></li> <li><a class="reference internal" href="#contributors" id="id10">Contributors</a></li> </ul> </div> <a name="context"></a> <h2><a class="toc-backref" href="#id1">Context</a></h2> <p>In vanilla Odoo, you may select a PO from a vendor bill by entering the vendor bill reference.</p> <img alt="static/description/vanilla_odoo_vendor_bill.png" src="static/description/vanilla_odoo_vendor_bill.png" /> <p>This is convenient if your vendors issues invoices based on a sale orders (your purchase orders). This is less convenient if your vendor issues invoices based on deliveries.</p> <a name="overview"></a> <h2><a class="toc-backref" href="#id2">Overview</a></h2> <p>This module allows to select a stock picking from a draft invoice.</p> <img alt="static/description/overview__invoice_picking_select.png" src="static/description/overview__invoice_picking_select.png" /> <p>When the picking is selected, one invoice line is added per stock move.</p> <img alt="static/description/overview__invoice_lines_added.png" src="static/description/overview__invoice_lines_added.png" /> <p>Each invoice line is properly binded to the origin PO line.</p> <a name="usage"></a> <h2><a class="toc-backref" href="#id3">Usage</a></h2> <a name="purchase-order"></a> <h3><a class="toc-backref" href="#id4">Purchase Order</a></h3> <p>As member of <code>Purchase / User</code>, I confirm a PO.</p> <img alt="static/description/purchase_order_confirmed.png" src="static/description/purchase_order_confirmed.png" /> <a name="receipt"></a> <h3><a class="toc-backref" href="#id5">Receipt</a></h3> <p>As member of <code>Stock / User</code>, when the order is received, I navigate to the form view of the picking.</p> <p>I notice a new field <code>Supplier Reference</code>.</p> <img alt="static/description/receipt_form.png" src="static/description/receipt_form.png" /> <p>I fill the supplier reference, then validate the receipt.</p> <img alt="static/description/receipt_form_validated.png" src="static/description/receipt_form_validated.png" /> <p>Note that one product (<code>[FURN_8888] Office Lamp</code>) was partially (10 out of 15) received. A backorder was created.</p> <a name="invoice"></a> <h3><a class="toc-backref" href="#id6">Invoice</a></h3> <p>As member of <code>Accounting / Billing</code>, when the supplier bill is received, I create a draft bill.</p> <p>I notice a new field <code>Add a receipt</code>.</p> <img alt="static/description/invoice.png" src="static/description/invoice.png" /> <p>I select my receipt.</p> <img alt="static/description/invoice_select_receipt.png" src="static/description/invoice_select_receipt.png" /> <p>The invoice lines are automatically generated and the origin document was filled.</p> <p>The quantity on the invoice line is the received quantity from the picking.</p> <img alt="static/description/invoice_lines_generated.png" src="static/description/invoice_lines_generated.png" /> <a name="invoiced-partially-invoiced-filters"></a> <h2><a class="toc-backref" href="#id7">Invoiced / Partially Invoiced Filters</a></h2> <p>The module adds 2 filters on the list view of stock pickings.</p> <p>These filters allow to view receipts that are uninvoiced and partially invoiced.</p> <img alt="static/description/stock_picking_filters.png" src="static/description/stock_picking_filters.png" /> <a name="credit-notes-returns"></a> <h3><a class="toc-backref" href="#id8">Credit Notes / Returns</a></h3> <p>The module also allows to fill a credit note from a return picking. The behavior is exactly the same as described above for a receipt.</p> <p>A return picking can also be directly added to an invoice. In such case, the quantity on the new invoice lines will be negative. The total amount on the invoice will need to be positive (this is a standard Odoo constraint).</p> <a name="forcing-a-picking-as-invoiced"></a> <h2><a class="toc-backref" href="#id9">Forcing A Picking As Invoiced</a></h2> <p>Since version 1.1.0 of the module, it is possible to manually set a picking as invoiced.</p> <p>After installing the module, this prevents old pickings (invoiced before the installation of the module) from appearing in the selection­.</p> <p>For this, go to the form view of the picking and check the box <code>Force Invoiced Status</code>.</p> <img alt="static/description/picking_force_invoiced.png" src="static/description/picking_force_invoiced.png" /> <p>When <code>Force Invoiced Status</code> is checked, the status <code>Invoiced</code> is automatically checked.</p> <img alt="static/description/picking_force_invoiced_checked.png" src="static/description/picking_force_invoiced_checked.png" /> <a name="contributors"></a> <h2><a class="toc-backref" href="#id10">Contributors</a></h2> <ul class="simple"> <li>Numigi (tm) and all its contributors (<a class="reference external" href="https://bit.ly/numigiens">https://bit.ly/numigiens</a>)</li> </ul>