- Mar 23, 2023
-
-
Loan (LSE) authored
HTTPS certificate IoT issues can be complicated to troubleshoot as the information are not visible/given. This PR aim to share this information on the IoT box homepage. As there is a lot of possible causes for a given problem, a code is used that will be explained/detailed in Odoo's IoT documentation: https://github.com/odoo/documentation/pull/3818 OPW-3227004 closes odoo/odoo#114993 Signed-off-by:
Loan (LSE) <lse@odoo.com> Signed-off-by:
Sens Loan (lse) <lse@odoo.com>
-
- Jul 26, 2021
-
-
Xavier-Do authored
The license is missing in most enterprise manifest so the decision was taken to make it explicit in all cases. When not defined, a warning will be triggered starting from 14.0 when falling back on the default LGPL-3. closes odoo/odoo#74231 Related: odoo/enterprise#19850 Related: odoo/design-themes#43 Signed-off-by:
Xavier Dollé (xdo) <xdo@odoo.com>
-
- May 17, 2021
-
-
Victor Feyens authored
[FIX] *: update documentation links Following the recent reorganisation of the documentation in 12.0+, the majority of the documents have been moved and their old links are no longer valid. Some redirection rules will soon be deployed, but those rules might be dropped in some years and we want the links to still work, which is why we still replace the links to the new ones. FW-Port of odoo/odoo#70675 (13.0) closes odoo/odoo#70728 X-original-commit: 85c24961 Related: odoo/enterprise#18283 Signed-off-by:
Victor Feyens (vfe) <vfe@odoo.com>
-
- Oct 23, 2020
-
-
lejeune quentin authored
We change the OS from Raspbian to Raspberry Pi OS So we change all occurence of raspbian to raspios m
-
- Oct 19, 2020
-
-
Swapnesh Shah authored
Before this commit, links to the documentation were referenced the previous version, 13.0, instead of the current one, 14.0. Eventhough there is a redirection done by NGINX of a "versionless" URL to the latest one (e.g. /documentation/user/general/auth/google.html -> /documentation/user/14.0/general/auth/google.html as of today), the goal is to keep links owrking for users that will still be using the 14.0 in three years (and should not endup on the 17.0 doc). closes odoo/odoo#59554 Signed-off-by:
Martin Trigaux (mat) <mat@odoo.com>
-
- Sep 17, 2020
-
-
lejeune quentin authored
The path to folder of images of IoT has change. So we adapt the path for the upgrade of IoT closes odoo/odoo#57935 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Aug 25, 2020
-
-
Antoine Prieels authored
- Split driver.py to multiple files - Remove hw_proxy module as most of its routes were not used and move remaingin routes to a controller in hw_drivers - Add missing coding and license lines at the beginning of files - Reorder imports and remove unused ones - Rename device_id to device_identifier for clarity - Rename screen to display for consistency - Other minors improvements TaskID: 1973956
-
- Jul 06, 2020
-
-
lejeune quentin authored
When we upgrade the IoT we wait that the version of box match with the last version of IoT Box before to refresh. We make a request to '/hw_proxy/get_version' to get the actual version. In Jinja this response give a float. We compare this value with a string using '===' who want that the format match. So we doesn't compare the format of values but only the value by putting only '=='. closes odoo/odoo#54149 X-original-commit: 06f9baae Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- May 13, 2020
-
-
Antoine Prieels authored
Until now, to detect new types of devices on the IoT Box, we had to modify driver.py. If partners wanted to connect a new type of device, they had to modify directly the files on the Box, meaning that after each new build they had to re-apply all their modifications. We remove the loops that detected the connected devices and replace them by `Interfaces`. All interfaces will be loaded from the connected Odoo instance with the corresponding drivers. TaskID: 2082282
-
- Mar 25, 2020
-
-
lejeune quentin authored
in helpers 'get_odoo_server_url()' return the server string or False. In steps by steps config wizard we display this value. So in server input it display 'False' and with this value we can't submit the form Now we set a empty string if the return is 'False' closes odoo/odoo#48346 X-original-commit: 57283f21 Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
lejeune quentin authored
If we start a self flash and we refresh the page we are able to start again the upgrade. So now we check if a upgrade is not already started closes odoo/odoo#48340 X-original-commit: 7189111a Signed-off-by:
pimodoo <pimodoo@users.noreply.github.com>
-
- Mar 23, 2020
-
-
Antoine Prieels authored
This reverts commit 9d43308a8f6b521d3d18f7fc472303f58f56a0c3. No one should be using MPD in production at the moment but we'll still leave it in the buiold of the Box, just to be sure. X-original-commit: 129101815d5846d5b53148546b19bdd791f22aac
-
- Mar 05, 2020
-
-
Yannick Tivisse authored
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by:
Yannick Tivisse (yti) <yti@odoo.com>
-
- Mar 02, 2020
-
-
lejeune quentin authored
We use a library to get mac address of IoT in homepage. however we already have a function that does this in the helper in hw_drivers closes odoo/odoo#46631 X-original-commit: ae78e9cd Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Feb 27, 2020
-
-
Antoine Prieels authored
Remove the MPD server and Six configuration from the IoT Box. MPD will be replaced by TIM, which doesn't require the IoT Box. closes odoo/odoo#46424 Taskid: 2188566 X-original-commit: 9d43308a8f6b521d3d18f7fc472303f58f56a0c3 Signed-off-by:
Antoine Prieëls <aprieels@users.noreply.github.com>
-
- Feb 24, 2020
-
-
Robin Heinz authored
Remove the community Blackbox Driver Small changes to make it possible to use the Blackbox IoT driver with the PoS. closes odoo/odoo#46135 X-original-commit: 8e48a0d5d4586729eb22ac8b6abc0fdc74771b78 Related: odoo/enterprise#8714 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Jan 31, 2020
-
-
lejeune quentin authored
To be able to flash the partition on which the IoT Box is executed, we must create a third partition and install an OS there to be able to boot on it and flash the partition of the IoT Box - Creation of the third partition - Raspbian download and checksum verification - Installation of Raspbian on the third partition - Download the IoT image on the Raspbian partition and check the checksum - Reboot on the Raspbian partition - Installation of the IoT image on the second partition - Reboot on the IoT partition - Cleaning and deleting the third partition closes odoo/odoo#44430 Task: 2161955 X-original-commit: 407d9a88 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
lejeune quentin authored
We move the main.py controller and the upgrade.html view in the hw_posbox_homepage module for more consistency X-original-commit: 9ba84dc6
-
- Dec 05, 2019
-
-
lejeune quentin authored
When the box is in "access point" it calls the function 'get_wifi_essid' at every ping => ~ 3 seconds. So after a few moments the network card blocks and turns off. Now we redirect the user to the '/steps' route that only executes the function once. closes odoo/odoo#41415 X-original-commit: b5020a44 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Oct 03, 2019
-
-
mreficent authored
Was still pointing to old links closes odoo/odoo#37859 Signed-off-by:
Adrian Torres (adt) <adt@odoo.com>
-
- Sep 25, 2019
-
-
Victor Feyens authored
closes odoo/odoo#35754 Signed-off-by:
Damien Bouvy (dbo) <dbo@odoo.com>
-
- Sep 10, 2019
-
-
lejeune quentin authored
Previously if you are wired connected we don't scan wifi network. Now we scan the wifi network and add possibiliyt to select a network and use them.
-
lejeune quentin authored
To add or modify printer the /root_bypass_ramdisks/etc/cups/ need be writeable. And /root_bypass_ramdisks/etc/cups/ = /etc/cups/ But when we make 'sudo mount -o remount,ro /' we put the /etc/cups/ and so /root_bypass_ramdisks/etc/cups/ folder on read-only. After all 'read-only' command we make another command to put cups folder writeable
-
lejeune quentin authored
Previously, we showed POS and IoT devices. Now all POS devices are converted to IoT devices. So the 'get_pos_devices_status' function is useless
-
- Sep 04, 2019
-
-
lejeune quentin authored
We must be able to change the hostname of IoT Box even if we do not pass him a token. So we give a default value to 'url' and 'token' closes odoo/odoo#36428 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
Antoine Prieels authored
In the IoT Box, most calls to subprocess used "Shell=True", which can cause security issues. TaskID: 1966417
-
Antoine Prieels authored
Create a helper to get the ssid of the wifi to which the Box is connected.
-
Antoine Prieels authored
Function get_hw_screen_message was still present but not called since commit 8b957b7e
-
lejeune quentin authored
In home page of IoT Box the link "Manual" send to a 404 page. Now we send to IoT Box documentation closes odoo/odoo#36354 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Sep 03, 2019
-
-
Antoine Prieels authored
When no server is set, it probably means that the Box is used in Community and the user won't be able to redownload the drivers since there is no connected server. We then hide the "Clear Drivers" button.
-
Antoine Prieels authored
Automatically load the IoT Drivers when Odoo starts on the IoT Box or when the connection to the Odoo instance is done. Allow to deactivate the automatic load to avoid overriding modifications made on the Box. TaskID: 2009683
-
- Aug 28, 2019
-
-
Martin Trigaux authored
The description should be an action for the user (i.e. "with this module, you can ...") Correct English errors
-
- Aug 23, 2019
-
-
lejeune quentin authored
With this commit we add the possibility to save the db_uuid and enterprise_code on the IoT Box. We check the current SSL certificate and if it is not authenticated or not up to date we send a request to 'https://www.odoo.com/odoo-enterprise/iot/x509' with the db_uuid and enterprise_code to get the certificate, key, and domain associated with the client. The IoT Box will be accessible in HTTPS according to the following domain: https://<ip-with-dashes>.<sub-hash>.odoo-iot.com <ip-with-dashes> being the ip address with dashes <sub-hash> being a subdomain assigned by Odoo to a customer Task: 1931770
-
lejeune quentin authored
With this commit we move the helpers to a separate file for easier access from the IoT Box
-
- Aug 12, 2019
-
-
Antoine Prieels authored
Add configuration for a Six payment terminal on the IoTBox's homepage. The Terminal ID specified on the homepage is saved to: `/home/pi/odoo-six-payment-terminal.conf` TaskId: 1932416
-
- Jul 31, 2019
-
-
Antoine Prieels authored
Hide "load drivers" option if no server is set. TaskID: 1970076 closes odoo/odoo#33364 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Jul 11, 2019
-
-
lejeune quentin authored
before this commit the date of the IoT Box did not update. With this commit we restart the service timesyncd on the IoT box Task: 2034930 closes odoo/odoo#34789 Signed-off-by:
Quentin Lejeune (qle) <qle@odoo.com>
-
- Jul 17, 2019
-
-
pha-odoo authored
This commit adds a base serial and a base serial scale iot drivers, as well as drivers extending them for the two previously supported scales (ADAM EQUIPMENT AZEXTRA and TOLEDO 8217). Since just adding the new drivers creates a race condition between the old drivers and the new, the old drivers need to be removed. The IoT scale drivers need to be backward compatible and compatible with the community version, so client using an IoT box with those versions can still connect a scale to the PoS. Task: 1892412
-
- Apr 02, 2019
-
-
lejeune quentin authored
Improve the implementation of IoT. Allow both-direction communication between iot box and devices. Now a device can send its value / status as soon as it changes. Not only when he receives a request. Now the box have only 3 routes: /hw_drivers/action parameter: session_id, device_id, data used to ask at a device to make a action (take picture, make print, ect...) /hw_drivers/event parameter: listener listener is a dict where you have the session_id and a list of device_id to listen this route wait to answer that we call device_changed for a device_id with data or value /hw_drivers/box/connect parameter: token used to register the box to a Odoo database token contain the url of Odoo database and a unique number that allow the IoT Box to connect box in the hour task : 1906910
-
- Jan 15, 2019
-
-
lejeune quentin authored
-