Search 1.9 billion lines of Odoo code on GitHub

grap_change_views_purchase

Author: GRAP
License: AGPL-3
Branch: 12.0-REF-try-use-copier
Repository: grap/grap-odoo-custom
Dependencies: intercompany_trade_purchase, purchase, purchase_batch_invoicing, purchase_discount, purchase_triple_discount, and recurring_consignment_purchase
Languages: PO File (48, 13.3%), Python (94, 26.0%), XML (148, 41.0%), and reStructuredText (71, 19.7%)
Other branches: 12.0, 12.0-REF-grap_change_default-compatibility-joint_buying, and 12.0-ocabot-merge-pr-186-by-legalsylvain-bump-patch
Other repositories: legalsylvain/grap-odoo-custom, and quentinDupont/grap-odoo-custom

<h1 class="title">GRAP - Change Purchase Views</h1> <p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/grap/grap-odoo-custom/tree/12.0/grap_change_views_purchase"><img alt="grap/grap-odoo-custom" src="https://img.shields.io/badge/github-grap%2Fgrap--odoo--custom-lightgray.png?logo=github" /></a></p> <p>Change default views for the following modules:</p> <ul class="simple"> <li><code>purchase</code></li> <li><code>purchase_discount</code></li> <li><code>purchase_triple_discount</code></li> </ul> <a name="features"></a> <h2>features</h2> <ul class="simple"> <li>Rename some fields in the puchase order form</li> <li>hide unused <code>discount3</code> field and extra tab in purchase order form</li> <li>move <code>date_planned</code> field from the extra tab near to <code>date_order</code> field</li> <li>make <code>taxes_id</code> readonly for non accountant people in purchase order view</li> <li>merge both menu entries &quot;Requests for Quotation&quot; and &quot;Purchase Orders&quot;</li> <li>set red purchase order lines with null amount</li> <li><code>date_planned</code> field of the order is now, not a computed field anymore.</li> <li><code>date_planned</code> field of the order line are based on the date_planned field on the order, when confirming the order.</li> <li>add an onchange feature on <code>product_template.type</code> field :</li> </ul> <p>If type in 'service', purchase_method is 'purchase' If type in ('product', 'consu'), purchase_method is 'receive'</p> <p>(Introduce an hook and a pre-migration script to fix existing databases)</p> <a name="note"></a> <h2>Note</h2> <ul class="simple"> <li>hidden fields are available for member of the group <code>base.group_erp_manager</code></li> </ul> <p><strong>Table of contents</strong></p> <div class="contents local topic" id="contents"> <ul class="simple"> <li><a class="reference internal" href="#bug-tracker" id="id1">Bug Tracker</a></li> <li><a class="reference internal" href="#credits" id="id2">Credits</a><ul> <li><a class="reference internal" href="#authors" id="id3">Authors</a></li> <li><a class="reference internal" href="#contributors" id="id4">Contributors</a></li> <li><a class="reference internal" href="#maintainers" id="id5">Maintainers</a></li> </ul> </li> </ul> </div> <a name="bug-tracker"></a> <h3><a class="toc-backref" href="#id1">Bug Tracker</a></h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/grap/grap-odoo-custom/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed <a class="reference external" href="https://github.com/grap/grap-odoo-custom/issues/new?body=module:%20grap_change_views_purchase%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p> <p>Do not contact contributors directly about support or help with technical issues.</p> <a name="credits"></a> <h3><a class="toc-backref" href="#id2">Credits</a></h3> <a name="authors"></a> <h4><a class="toc-backref" href="#id3">Authors</a></h4> <ul class="simple"> <li>GRAP</li> </ul> <a name="contributors"></a> <h4><a class="toc-backref" href="#id4">Contributors</a></h4> <ul class="simple"> <li>Sylvain LE GAL (<a class="reference external" href="https://www.twitter.com/legalsylvain">https://www.twitter.com/legalsylvain</a>)</li> <li>Quentin DUPONT &lt;<a class="reference external" href="mailto:quentin.dupont&#64;grap.coop">quentin.dupont&#64;grap.coop</a>&gt;</li> </ul> <a name="maintainers"></a> <h4><a class="toc-backref" href="#id5">Maintainers</a></h4> <p>This module is part of the <a class="reference external" href="https://github.com/grap/grap-odoo-custom/tree/12.0/grap_change_views_purchase">grap/grap-odoo-custom</a> project on GitHub.</p> <p>You are welcome to contribute.</p>