Search 1.9 billion lines of Odoo code on GitHub

purchase_consignment

Author: Numigi
License: no license
Branch: HEAD
Repository: Numigi/odoo-purchase-addons
Dependencies: product, and purchase_stock
Languages: PO File (42, 11.1%), Python (310, 82.0%), and XML (26, 6.9%)
Other branches: 11.0, 12.0, 14.0, TA#49456, TA#50304, and qtip_20220127_1938

<h1 class="title">Purchase Consignment</h1> <p>This module improves the usability of consignment in Odoo.</p> <a name="context"></a> <h2>Context</h2> <p>In vanilla Odoo, as of version <code>12.0</code>, managing consignment is error prone. You must manually define the owner of a product on the receipt order.</p> <img alt="static/description/vanilla_odoo_consignment.png" src="static/description/vanilla_odoo_consignment.png" /> <a name="summary"></a> <h2>Summary</h2> <p>This module adds a <code>Consignment</code> checkbox on products.</p> <p>If this box is checked, one and only one supplier must be defined in the list of suppliers for this product.</p> <p>When an item is received, the supplier defined on the PO is automatically set as <code>owner</code>.</p> <p>A constraint is added to the PO to prevent selecting a wrong supplier with a consigned product.</p> <a name="configuration"></a> <h2>Configuration</h2> <p>As member of the group <code>Purchase / Manager</code>, I go to the form view of a product.</p> <p>I notice a new checkbox <code>Consignment</code>. I check the box.</p> <img alt="static/description/product_form_consignment.png" src="static/description/product_form_consignment.png" /> <p>In the <code>Purchase</code> tab, I select the supplier for this product.</p> <blockquote> Because <code>Consignment</code> is checked, I can not select more than one supplier (commercial partner). However, I can enter more than one address under the same commercial partner.</blockquote> <img alt="static/description/product_form_purchase_tab.png" src="static/description/product_form_purchase_tab.png" /> <a name="configuration-by-category"></a> <h3>Configuration By Category</h3> <p>It is also possible to configure consignment per product category.</p> <p>On the form view of a product category, I notice a new checkbox <code>Consignment</code>. I check the box.</p> <img alt="static/description/product_category_form_consignment.png" src="static/description/product_category_form_consignment.png" /> <p>When checking or unchecking this box, the value of the field is propagated to all products directly under this category.</p> <p>When setting/changing the category on a product, the value is also propagated from the category.</p> <blockquote> However, this propagation will not be done if you do a mass edition of products to change the category.</blockquote> <a name="usage"></a> <h2>Usage</h2> <p>As member of the group <code>Purchase / User</code>, I go to the form view of a purchase order.</p> <p>I select my supplier and the consigned product.</p> <img alt="static/description/purchase_order_draft.png" src="static/description/purchase_order_draft.png" /> <p>I confirm the purchase order, then I go to the reception picking.</p> <img alt="static/description/purchase_order_confirmed.png" src="static/description/purchase_order_confirmed.png" /> <p>I notice that the owner was automatically set on the stock move.</p> <img alt="static/description/receipt_order_with_owner.png" src="static/description/receipt_order_with_owner.png" /> <a name="constraint-on-po"></a> <h2>Constraint on PO</h2> <p>On a purchase order, If I select a wrong supplier for a consigned product, a blocking message will be raised when confirming the PO.</p> <img alt="static/description/purchase_order_constraint_message.png" src="static/description/purchase_order_constraint_message.png" /> <a name="contributors"></a> <h2>Contributors</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>