Odoo Addon: Auto WiFi Voucher Generation

Job ID: 38701950

Budget: $150 – $200 USD

Develop odoo addon for auto generating wifi voucher

We are using odoo 17.0 as POS, and we would like to generate wifi vouchers specifically customers who have bought our product, in order to prevent free roamers.
odoo is installed using this script as a proxmox container
https://github.com/minhng92/odoo-17-docker-compose

The GUI of addon consists of :
1. router name
2. router ip address
3. router API port
4. router username
5. router password
6. test connection button
7. Odoo multi Selectable product category eligible for wifi voucher

The workflow is :

1. A Transaction takes place,
2. Count the number of ordered items flagged as wifi-eligible product category for that transaction
Suggested method is to use a custom domain view, as documented here
https://www.odoo.com/documentation/17.0/developer/tutorials/server_framework_101/06_basicviews.html
For example, only products in "coffee" category is eligible for wifi voucher

3. SSH mikrotik using https://www.paramiko.org/ or alike
Run userman commands, with :
a. username and password randomized (6 characters)
b. shared user # equals amount of items ordered in the first step
c. set profile 3hr
For this reason Freelancer must also be able to query correct mikrotik API for above result

4. Store the username and password value
5. Print wifi username and password on odoo receipt print page, must be customized beforehand
https://www.odoo.com/documentation/17.0/applications/sales/point_of_sale/receipts_invoices.html
Using the header is feasible if it's possible, e.g calling value from #1-#4 above so that the printed receipt has a header saying username password like this:
https://imgur.com/uhvVvd7
6. If the radius server / printer / other factor is not reachable due to hardware / software error,
the process would be skipped and show error message box so that the cashier workflow doesn't stop
7. Must have logging page in case of error
8. 7 days testing period is needed after stable version i.e no bugs found. If bugs found 7 days must be restarted again,
because it must be bug free to ensure smooth cashier workflow.
Related categories: PHP Python Linux ERP Odoo