Search 1.9 billion lines of Odoo code on GitHub

l10n_fr_certification_pos

Author: GRAP, Akretion, Odoo Community Association (OCA), OpenERP SA
License: AGPL-3
Branch: 8.0_l10n_fr_certification
Repository: grap/l10n-france
Dependencies: l10n_fr_certification_abstract, point_of_sale, and web
Languages: JavaScript (156, 22.8%), PO File (91, 13.3%), Python (237, 34.7%), XML (139, 20.4%), and reStructuredText (60, 8.8%)
Other branches: 8.0_ADD_l10n_fr_certification_abstract_account_pos

<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="french-certification-for-point-of-sale"></a> <h2>French Certification for Point of Sale</h2> <p>This module extends the functionality of Point of Sale module to feat with the french Sapin law.</p> <p>It generates a sequence for each french pos config, and a hash for each pos order, based on the hash of the previous pos order, and the data of the current order, insuring inalterability of the orders, once paid.</p> <div class="figure"> <img alt="static/description/pos_order.png" src="static/description/pos_order.png" style="width: 800px;" /> </div> <p>It is not more possible to change datas for paid orders, for exemple, changing the customer will be blocked.</p> <div class="figure"> <img alt="static/description/pos_order_warning.png" src="static/description/pos_order_warning.png" style="width: 800px;" /> </div> <p>To know more about hash generation and certification, please check the description of the 'l10n_fr_certification_abstract' module.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to:</p> <ol class="arabic simple"> <li>Set an extra key in openerp.cfg configuration file named</li> </ol> <blockquote> 'l10n_fr_certification_mode' with the following value:</blockquote> <ul class="simple"> <li>'legacy': Configuration is on each PoS config.</li> <li>'warning': The bill will display the hash of the order on the bill or a warning, if the server is unreachable.</li> <li>'block': The bill will not be printed, if the server is unreachable.</li> </ul> <ol class="arabic simple"> <li>Go to 'Point Of Sale' / 'Configuration' / 'Point of Sale' and edit your</li> </ol> <blockquote> french PoS Configs, setting the correct setting for the field 'Prevent Uncertified Bill'. This field will be used only if the server is set to the mode 'legacy'.</blockquote> <div class="figure"> <img alt="static/description/pos_config.png" src="static/description/pos_config.png" style="width: 800px;" /> </div> <a name="important-note"></a> <h4>Important note</h4> <p>'block' setting will break offline mode.</p> <a name="usage"></a> <h3>Usage</h3> <p>Depending of the settings, the french bills printed by the point of sale :</p> <ul class="simple"> <li>will display an extract of the hash of the order.</li> </ul> <div class="figure"> <img alt="static/description/bill_with_hash.png" src="static/description/bill_with_hash.png" /> </div> <ul class="simple"> <li>will display a warning text, if setting is set to 'warning'.</li> </ul> <div class="figure"> <img alt="static/description/bill_warning.png" src="static/description/bill_warning.png" /> </div> <ul class="simple"> <li>will not be printed, if setting is set to 'block'.</li> </ul> <div class="figure"> <img alt="static/description/bill_unprinted.png" src="static/description/bill_unprinted.png" /> </div> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/121/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/pos/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 smash it by providing detailed and welcomed feedback.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Sylvain LE GAL (<a class="reference external" href="https://twitter.com/legalsylvain">https://twitter.com/legalsylvain</a>)</li> </ul> <a name="funders"></a> <h4>Funders</h4> <p>The development of this module has been financially supported by:</p> <ul class="simple"> <li>Akrétion (<a class="reference external" href="http://www.akretion.com">http://www.akretion.com</a>)</li> <li>GRAP, Groupement Régional Alimentaire de Proximité (<a class="reference external" href="http://www.grap.coop">http://www.grap.coop</a>)</li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>