Comments (14)
@alexis-via @flotho @legalsylvain this issue is not solved : we still have the issue by using hw_scale and hw_customer_display
we have ttyUSB0 for the customer display and ttyACM0 for the scale
We have Mettler Ariva S setup as follow :
3.1: 1 – USB Virtual COM ports (USB Ser/CDC)
3.6: 3 – 8217 Mettler-Toledo (WO)
Thanks for your feedback
from pos.
Hi,
Working with hw_scale seems to use the same serial channel as the customer display.
So when both are passed in the options, some special characters are displayed on the bixolon.
removing the hw_scale form the load modules solved the problem for us.
@alexis-via , did you already faced this kind of issue ?
regards
from pos.
Hi @flotho. could you say me which scale you're using with hw_scale, and if it works correctly ?
kind regards.
from pos.
Hi @legalsylvain , actually, no balance is used but the POSBOX come with all the hw_* modules loaded at start.
So I deactivate the module and no more confilcts in serial is solving my issue.
regards
from pos.
Hi @flotho, thanks for your answer. If you try to use scale connection, please ping me, I'm looking for a stable system.
regards.
from pos.
It looks like we have the same issue with hw_telium_payment_terminal.
In the posbox (odoo's one) status page, we see a connected scale but we did not connect any scale. Payment terminal is seen as a scale (we have DB9-USB cable between the Verifone payment terminal and the posbox)
from pos.
@invitu
We suspecting a serial port conflict. https://github.com/odoo/odoo/blob/10.0/addons/hw_scale/controllers/main.py#L127 is the one used by scale and by default the customer_display seems to use the same serial port. Give a try by changing the port name in the conf file for the hw_discount
from pos.
Alternatively, you could :
- install pywebdriver instead of posbox
- uninstall hw_scale from your posbox
Maybe just add a warning on the hw_telium_payment_terminal description could be suficient. (Well incompatibility with an unused module is not really a bug)
what do you think ?
from pos.
I think we should remove hw_* modules from OCA/pos 9.0 and 10.0 branches. It will make things clear. POSbox image currently runs odoo v8, so hw_* modules should only be present on 8.0 branch. When posbox image will be migrated to v11, we will port those hw_* modules to v11.
from pos.
Here are the corresponding PR for v9 and v10: #230 and #231
from pos.
@invitu : in hw_customer_display, the device name /dev/ttyUSB0 can be configured in the Odoo server config file of the POSBox, cf this line of code: https://github.com/OCA/pos/blob/8.0/hw_customer_display/controllers/main.py#L48
from pos.
@alexis-via thanks for replying. We already configured the port in /home/pi/odoo/addons/point_of_sale/tools/posbox/configuration/odoo.conf :
customer_display_device_name = /dev/ttyUSB0
customer_display_device_rate = 9600
from pos.
I think this is the issue :
pi@raspberrypi:~ $ ls -l /dev/serial/by-path/
total 0
lrwxrwxrwx 1 root root 13 Jun 12 2017 platform-3f980000.usb-usb-0:1.2.2:1.0-port0 -> ../../ttyUSB0
lrwxrwxrwx 1 root root 13 Jun 12 2017 platform-3f980000.usb-usb-0:1.2.4:1.0 -> ../../ttyACM0
According to https://github.com/odoo/odoo/blob/10.0/addons/hw_scale/controllers/main.py#L127
hw_scale scans the serial ports. I have to ack hw_scale in order to make it scan the right port
I give you the solution soon
from pos.
ok I dirty hacked hw_scale here https://github.com/odoo/odoo/blob/10.0/addons/hw_scale/controllers/main.py#L215
devices = ['platform-3f980000.usb-usb-0:1.2.4:1.0']
given by
ls -l /dev/serial/by-path/
lrwxrwxrwx 1 root root 13 Jun 12 2017 platform-3f980000.usb-usb-0:1.2.4:1.0 -> ../../ttyACM0
It works but it's very dirty ...
from pos.
Related Issues (20)
- [16.0] pos_default_partner default partner should be visible in pos HOT 1
- After refund of 1 qty, POS qty display increased by 2 qty HOT 4
- [15.0] pos_event_sale : no way to refund hidden event HOT 1
- Error when trying to install [pos_order_reorder] on 15.0 HOT 1
- pos_stock_available_online HOT 3
- Migration to version 17.0 HOT 5
- pos_report_session_summary Error when printing the session summary. HOT 1
- [16] pos_partner_firstname Can't create a contact HOT 10
- pos_order_to_sale_order Fiscal Position applied at Header but not at OrderLines HOT 9
- [16.0]pos_payment_change change policy option not displayed
- V16 branch looks broken. HOT 9
- RFC: Addition of Customer Postal Code Field in Odoo POS for Enhanced Data Analysis HOT 2
- dos not work with localization HOT 3
- pos_product_packaging_container_deposit - Does'nt add Deposit
- pos_lot_selection - v15 - POS Picking Type's Location is Not Considering
- [16.0][pos_stock_available_online] Bad quantity on products list if forecasted sales
- [15.0] pos_payment_change_wizard strange behavior on rounding HOT 1
- Error en configuracion de Excluir mercancías entrantes HOT 2
- How to use this? HOT 3
- install guide please HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pos.