Search 1.9 billion lines of Odoo code on GitHub

l10n_fr_certification_pos_offline

Author: GRAP, Odoo Community Association (OCA), OpenERP SA
License: AGPL-3
Branch: 10.0_ADD_l10n_fr_certification_pos_offline
Repository: grap/l10n-france
Dependencies: l10n_fr_pos_cert, and point_of_sale
Languages: JavaScript (218, 38.7%), PO File (52, 9.2%), Python (180, 31.9%), XML (44, 7.8%), and reStructuredText (70, 12.4%)
Other branches: 10.0_l10n_fr_certification_pos_offline

<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="france-vat-anti-fraud-certification-cgi-286-i-3-bis-offline-mode"></a> <h2>France - VAT Anti-Fraud Certification (CGI 286 I-3 bis) - Offline Mode</h2> <p>This module extends the functionality of Point of Sale module to feat with the french Sapin law in both online and offline mode.</p> <a name="configuration"></a> <h3>Configuration</h3> <p>This module define 4 modes for point of sale.</p> <table class="docutils"> <colgroup> <col width="20%" /> <col width="38%" /> <col width="19%" /> <col width="22%" /> </colgroup> <thead valign="bottom"> <tr><th class="head">Key</th> <th class="head">Name</th> <th class="head">Online Behaviour</th> <th class="head">Offline Behaviour</th> </tr> </thead> <tbody valign="top"> <tr><td>&nbsp;</td> <td>Default behaviour</td> <td>No changes</td> <td>No changes</td> </tr> <tr><td><code>normal_or_block</code></td> <td>Do not Print Hash or Prevent Printing</td> <td>No changes</td> <td>Prevent Printing</td> </tr> <tr><td><code>hash_or_warning</code></td> <td>Print Hash or Mark a Warning</td> <td>Print hash on Bill</td> <td>Print warning on Bill</td> </tr> <tr><td><code>hash_or_block</code></td> <td>Print Hash or Prevent Printing</td> <td>Print hash on Bill</td> <td>Prevent Printing</td> </tr> </tbody> </table> <p>To configure this module, you need to:</p> <ul class="simple"> <li>Go to 'Point Of Sale' / 'Configuration' / 'Point of Sale' and edit your PoS Config, 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'.</li> </ul> <div class="figure"> <img alt="PoS Configuration" src="/l10n_fr_certification_pos_offline/static/description/pos_config.png" style="width: 800px;" /> </div> <p>Alternatively, you can configure all your french PoS config with the same value adding an extra key in the openerp.cfg configuration file</p> <p><code>l10n_fr_certification_mode = normal_or_block</code></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, if setting is set to <code>hash_or_warning</code> or <code>hash_or_block</code>.</li> </ul> <div class="figure"> <img alt="Bill with Hash" src="/l10n_fr_certification_pos_offline/static/description/bill_with_hash.png" /> </div> <ul class="simple"> <li>will display a warning text, if setting is set to <code>hash_or_warning</code></li> </ul> <div class="figure"> <img alt="Bill Warning" src="/l10n_fr_certification_pos_offline/static/description/bill_warning.png" /> </div> <ul class="simple"> <li>will not be printed, if setting is set to <code>normal_or_block</code> or <code>hash_or_block</code></li> </ul> <div class="figure"> <img alt="Bill Unprinted" src="/l10n_fr_certification_pos_offline/static/description/bill_unprinted.png" /> </div> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/121/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="important-note"></a> <h3>Important Note</h3> <ul class="simple"> <li>this module will change the behaviour of the point of sale. The print of the bill is waiting the result of the creation of the pos.order. If you have no connexion, the print will be done (or prevented, depending of the setting) instantly. But if you have a bad connexion, or if the server takes a lot of time during the <cite>create_from_ui</cite> process, the user will have to wait the end of the process to make another action in another order.</li> <li>If the default timeout of odoo is not enough (7.5 seconds), you can use the module pos_timeout in the OCA / pos repository to change the value.</li> </ul> <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> <li>Mind &amp; Go, (<a class="reference external" href="https://mind-and-go.com/">https://mind-and-go.com/</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>