Author: |
GRAP |
License: |
AGPL-3 |
Branch: |
8.0_WIP_pos_change_payment |
Repository: |
grap/odoo-addons-misc |
Dependencies: |
account,
purchase,
sale,
and
stock |
Languages: |
PO File (31, 10.6%),
Python (157, 53.8%),
XML (42, 14.4%),
YAML (24, 8.2%),
and
reStructuredText (38, 13.0%) |
Other branches: |
7.0 |
Other repositories: |
OdooBulgaria/odoo-addons-misc,
Supercagette/odoo-addons-misc,
legalsylvain/odoo-addons-misc,
minimedj/odoo-addons-misc,
quentinDupont/odoo-addons-misc,
and
rkhalil1990/odoo-addons-misc |
<a class="reference external image-reference" 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.svg">
</a>
<a name="add-pricelist-feature-on-invoices"></a>
<h2>Add Pricelist feature on invoices</h2>
<ul class="simple">
<li>Add pricelist field on account invoices. This field is now required</li>
<li>Add price computation on each account invoice line based on pricelist</li>
<li>Possibility to group by pricelist on account.invoice view</li>
</ul>
<img alt="/invoice_pricelist/static/description/invoice_with_pricelist.png" src="/invoice_pricelist/static/description/invoice_with_pricelist.png" />
<a name="technical-points"></a>
<h3>Technical points</h3>
<p>As this field is not in the core, this module will:</p>
<ul class="simple">
<li>populate existing invoices with default partner pricelist;</li>
<li>overload create function to add default partner pricelist if not set;</li>
</ul>
<p>Odoo core is bad designed for partner pricelist:</p>
<ul class="simple">
<li>the sale pricelist (property_product_pricelist) is in the 'product' module</li>
<li>the 'purchase' pricelist (property_product_pricelist_purchase is in the
purchase module</li>
</ul>
<p>So, as both field are necessary to compute pricelist, this module requires
'purchase' module installation.</p>
<p>In the same way, to make price computation consistent with sale and purchase
modules, this module only call onchange function of sale and purchase module
and provides same values. So 'sale' and 'purchase' module are required.</p>
<a name="roadmap-issue"></a>
<h3>Roadmap / Issue</h3>
<p>Invoices created via picking created via purchase / sale order will inherit
pricelist from sale or purchase order, but invoices created directly via
purchase or sale will have default partner pricelist.</p>
<p>Please make Pull request with functions that overload invoice prepare functions
in sale and purchase module.</p>
<a name="installation"></a>
<h3>Installation</h3>
<p>Normal installation.</p>
<a name="configuration"></a>
<h3>Configuration</h3>
<p>No configuration is needed.</p>
<a name="credits"></a>
<h3 class="with-subtitle">Credits</h3>
<h3 class="section-subtitle" id="contributors"><span class="section-subtitle">Contributors</span></h3>
<ul class="simple">
<li>Sylvain LE GAL <<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>></li>
</ul>