<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/hw_drivers/drivers/PrinterDriver.py, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[IMP] hw_drivers: Easier detection of new devices</title>
<updated>2020-05-13T13:26:05+00:00</updated>
<author>
<name>Antoine Prieels</name>
<email>anp@odoo.com</email>
</author>
<published>2019-10-29T12:39:28+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e1c52c936d4777f53e9889832a65aaa443537ec7'/>
<id>e1c52c936d4777f53e9889832a65aaa443537ec7</id>
<content type='text'>
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</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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</pre>
</div>
</content>
</entry>
<entry>
<title>[REF] hw_posbox_homepage: Use helpers to get mac address in homepage</title>
<updated>2020-03-02T09:01:11+00:00</updated>
<author>
<name>lejeune quentin</name>
<email>qle@odoo.com</email>
</author>
<published>2020-02-27T10:35:59+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ee519c222f0d1aec3f1b4082bbd76d13dedd07b2'/>
<id>ee519c222f0d1aec3f1b4082bbd76d13dedd07b2</id>
<content type='text'>
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: ae78e9cdde777ffac6f08a35dd00a540c92130bb
Signed-off-by: Quentin Lejeune (qle) &lt;qle@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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: ae78e9cdde777ffac6f08a35dd00a540c92130bb
Signed-off-by: Quentin Lejeune (qle) &lt;qle@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] hw_drievrs: Replace SSID on the first boot</title>
<updated>2020-02-25T14:08:49+00:00</updated>
<author>
<name>lejeune quentin</name>
<email>qle@odoo.com</email>
</author>
<published>2020-02-25T11:16:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=17c181ac74aefa2bf3e43f8e945895e6105feec2'/>
<id>17c181ac74aefa2bf3e43f8e945895e6105feec2</id>
<content type='text'>
We replace the SSID of the IoTBox with a unique SSID

closes odoo/odoo#46255

X-original-commit: c847c1cb149e386331ff2e5b19a58862e1b66714
Signed-off-by: Quentin Lejeune (qle) &lt;qle@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We replace the SSID of the IoTBox with a unique SSID

closes odoo/odoo#46255

X-original-commit: c847c1cb149e386331ff2e5b19a58862e1b66714
Signed-off-by: Quentin Lejeune (qle) &lt;qle@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] hw_drivers: Fix printer unknow in PrinterDriver</title>
<updated>2019-12-09T12:47:59+00:00</updated>
<author>
<name>lejeune quentin</name>
<email>qle@odoo.com</email>
</author>
<published>2019-12-09T12:47:54+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ef09a4f44e40c4d0d7242695d76e813be178bdc0'/>
<id>ef09a4f44e40c4d0d7242695d76e813be178bdc0</id>
<content type='text'>
We add a condition to add printer.
Printer, for protocol DNSSD and LPD, must have a "model"

closes odoo/odoo#41591

X-original-commit: a07f118fc7182fa96344fad4a0164ed86c446352
Signed-off-by: Quentin Lejeune (qle) &lt;qle@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We add a condition to add printer.
Printer, for protocol DNSSD and LPD, must have a "model"

closes odoo/odoo#41591

X-original-commit: a07f118fc7182fa96344fad4a0164ed86c446352
Signed-off-by: Quentin Lejeune (qle) &lt;qle@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] hw_drivers: Print status ESC/POS printers</title>
<updated>2019-11-27T09:18:33+00:00</updated>
<author>
<name>Antoine Prieels</name>
<email>anp@odoo.com</email>
</author>
<published>2019-11-27T09:18:33+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=53bc9dcdc638af008d7dc0b139af306f8912fb7a'/>
<id>53bc9dcdc638af008d7dc0b139af306f8912fb7a</id>
<content type='text'>
The status ticket contains ESC/POS commands but was printed on all
printers connected in USB. Plugging a printer that doesn't support
ESC/POS resulted in undefined behaviors.

We now only print this status ticket on ESC/POS printers.

closes odoo/odoo#40972

X-original-commit: c6a28b627cbe6f8bd1da4321c1329cbc1bde498d
Signed-off-by: Antoine Prieëls &lt;aprieels@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The status ticket contains ESC/POS commands but was printed on all
printers connected in USB. Plugging a printer that doesn't support
ESC/POS resulted in undefined behaviors.

We now only print this status ticket on ESC/POS printers.

closes odoo/odoo#40972

X-original-commit: c6a28b627cbe6f8bd1da4321c1329cbc1bde498d
Signed-off-by: Antoine Prieëls &lt;aprieels@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[REM] hw_drivers: Remove printers list from status</title>
<updated>2019-09-17T08:31:32+00:00</updated>
<author>
<name>Antoine Prieels</name>
<email>anp@odoo.com</email>
</author>
<published>2019-09-11T06:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7cb540b48571cc2a6e0d8f7869b34dd0572a0c77'/>
<id>7cb540b48571cc2a6e0d8f7869b34dd0572a0c77</id>
<content type='text'>
The status returned bby PrinterDriver contained a list of connected
printers to be used in Enterprise, to determine if the printer that was
selected in POS Config was used in the POS. We now read this status
from the db and we therefore don't need this anymore.

In Community the user only needs to know if there's a printer connected
to the Box. We just have to know if any printer is present.

TaskID: 1970884</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The status returned bby PrinterDriver contained a list of connected
printers to be used in Enterprise, to determine if the printer that was
selected in POS Config was used in the POS. We now read this status
from the db and we therefore don't need this anymore.

In Community the user only needs to know if there's a printer connected
to the Box. We just have to know if any printer is present.

TaskID: 1970884</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] hw_drivers: Status of network printers in POS</title>
<updated>2019-09-03T13:51:30+00:00</updated>
<author>
<name>Antoine Prieels</name>
<email>anp@odoo.com</email>
</author>
<published>2019-09-02T12:07:46+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=dc4090a3b4c2f5f1e6651aa57a9498352dd9e924'/>
<id>dc4090a3b4c2f5f1e6651aa57a9498352dd9e924</id>
<content type='text'>
When selecting a network printer in the POS the status of the proxy
showed "Printer Disconnected" because the list returned by the driver
only contained USB printers.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When selecting a network printer in the POS the status of the proxy
showed "Printer Disconnected" because the list returned by the driver
only contained USB printers.</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] hw_drivers, hw_posbox_homepage: get_ssid helper</title>
<updated>2019-09-04T13:10:03+00:00</updated>
<author>
<name>Antoine Prieels</name>
<email>anp@odoo.com</email>
</author>
<published>2019-08-27T08:27:03+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=70006311d043198db25d6433c02a65364379fe16'/>
<id>70006311d043198db25d6433c02a65364379fe16</id>
<content type='text'>
Create a helper to get the ssid of the wifi to which the Box is
connected.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a helper to get the ssid of the wifi to which the Box is
connected.</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] hw_drivers: PrinterDriver get hotspot name for status ticket</title>
<updated>2019-08-08T11:53:37+00:00</updated>
<author>
<name>Antoine Prieels</name>
<email>anp@odoo.com</email>
</author>
<published>2019-08-01T05:52:23+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=7cb95188579909fb46d4002bc101de8b8cffcf98'/>
<id>7cb95188579909fb46d4002bc101de8b8cffcf98</id>
<content type='text'>
When the IoT Box is not connected to the IoT Box, a hotspot would be
created to configure it. The name of this hotspot is printed on a
status receipt if a printer is connected. Previously, this ticket only
showed the default name of the hotspot, but this name will be different
if the user renamed the Box. We then read the name of the hotspot from
the config.

closes odoo/odoo#33095

Signed-off-by: pimodoo &lt;pimodoo@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the IoT Box is not connected to the IoT Box, a hotspot would be
created to configure it. The name of this hotspot is printed on a
status receipt if a printer is connected. Previously, this ticket only
showed the default name of the hotspot, but this name will be different
if the user renamed the Box. We then read the name of the hotspot from
the config.

closes odoo/odoo#33095

Signed-off-by: pimodoo &lt;pimodoo@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] hw_drivers: Print Star printers notice</title>
<updated>2019-08-08T11:53:37+00:00</updated>
<author>
<name>Antoine Prieels</name>
<email>anp@odoo.com</email>
</author>
<published>2019-07-04T08:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=463c0ff3a2d8e1f2f9b1953eaff77a53f18482d4'/>
<id>463c0ff3a2d8e1f2f9b1953eaff77a53f18482d4</id>
<content type='text'>
We communicate with receipt printers using the ESCPOS drivers.
By default, Star printers use the Star mode. This can be changed by
modifying the position of the DIP-Switches at the bottom of the
printer.

We provide a link to the documentation to the user if its printer is
not correctly configured.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We communicate with receipt printers using the ESCPOS drivers.
By default, Star printers use the Star mode. This can be changed by
modifying the position of the DIP-Switches at the bottom of the
printer.

We provide a link to the documentation to the user if its printer is
not correctly configured.</pre>
</div>
</content>
</entry>
</feed>
