Initial commit: OCA Technical packages (595 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:03 +02:00
commit 2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions

View file

@ -0,0 +1,33 @@
Products
~~~~~~~~
On a product form, in the "Sales" tab, the "Can be Paid for by Meal Vouchers" checkbox controls whether the product can be paid for by meal vouchers.
.. figure:: ../static/description/product_product_form.png
Product categories can be configured to have a default value for the "Can be Paid for by Meal Vouchers" field for its products.
The "Apply to All Products" button allows to set the value on all products of the category.
.. figure:: ../static/description/product_category_form.png
Point of Sale Payment Methods
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Point of sale payment methods (Point of Sale > Configuration > Payment Methods) have a "Meal Voucher Type" field that defines what type of meal voucher payment method they are:
* (empty): The payment method is not a meal voucher payment method.
* **Paper**: The payment method will be used when scanning meal voucher barcodes.
* **Electronic**: The payment method will be used for electronic meal vouchers.
.. figure:: ../static/description/pos_payment_method_form.png
Settings
~~~~~~~~
This module adds a "Meal Vouchers" section in the point of sale settings (Point of Sale > Configuration > Settings, or Settings > Point of Sale) with several options:
* **Maximum Amount**: Optional maximum amount per order that can be paid by meal vouchers. Set to 0 to disable.
* **Icon on Order Lines**: Whether to display an icon on point of sale order lines (on the product screen) for products that can be paid for by meal vouchers.
* **Information on Receipt**: Whether to display an asterisk (*) on receipts before each product that can be paid for by meal vouchers as well as the total eligible amount.
.. figure:: ../static/description/pos_settings.png

View file

@ -0,0 +1 @@
* Sylvain LE GAL <https://twitter.com/legalsylvain>

View file

@ -0,0 +1,5 @@
The development of this module has been financially supported by:
* Vracoop (https://portail.vracoop.fr/)
* Demain Supermarché (http://www.demainsupermarche.org/)
* Le Drive tout nu (https://ledrivetoutnu.com/)

View file

@ -0,0 +1,3 @@
This module allows to handle meal vouchers in the point of sale.
Meal vouchers are a payment method, available in some countries (France, Belgium, Romania,…) that allows customers to buy food products in grocery stores or pay in restaurants.

View file

@ -0,0 +1,7 @@
Possible Features
~~~~~~~~~~~~~~~~~
* Introduce the Meal Voucher Issuer model.
* Deduce the issuer when scanning a meal voucher barcode.
* Add a report to easily compute the total deposit of meal vouchers (per issuer).
* Prevent to scan the same meal voucher barcode twice.

View file

@ -0,0 +1,33 @@
Product Screen
~~~~~~~~~~~~~~
On the product screen, the products that can be paid for by meal vouchers are (optionally) identified with an icon and the total amount of those products is displayed.
.. figure:: ../static/description/pos_order_screen.png
Payment Screen
~~~~~~~~~~~~~~
On the payment screen, a meal voucher summary is displayed:
.. figure:: ../static/description/pos_payment_screen_meal_vouchers.png
If the received amount is too high, a warning icon is displayed:
.. figure:: ../static/description/pos_payment_screen_warning.png
Receipt
~~~~~~~
The receipts can optionally contain information about the products that can be paid for by meal vouchers and the total amount of those products:
.. figure:: ../static/description/receipt_information.png
Barcodes
~~~~~~~~
A new barcode rule is defined for paper meal vouchers (with 24 characters):
``...........{NNNDD}........``
If you scan the following barcode: ``052566641320080017000000``, a new payment line with an amount of ¤8.00 (``00800``) will be added.