*:pos_epson_printer,pos_epson_printer_restaurant,point_of_sale, pos_restaurant,pos_hr_restaurant Before the printers only worked in the pos_restaurant and not in the point_of_sale. Indeed, the methods managing the printers were located in the pos_restaurant. Now all these methods have been moved. For the community part here are the affected modules: - The methods in pos_epson_printer_restaurant have been moved to pos_epson_printer. - The methods in pos_restaurant have been moved to point_of_sale. - The module pos_epson_printer_restaurant has been removed as it only handled printers. Some of these methods have been adapted/renamed to better suit the needs. This branch the first part of the following task: 3224508 closes odoo/odoo#114655 Related: odoo/upgrade#4414 Related: odoo/enterprise#37901 Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
14 lines
557 B
XML
14 lines
557 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_pos_printer_form" model="ir.ui.view">
|
|
<field name="name">pos.iot.config.form.view</field>
|
|
<field name="model">pos.printer</field>
|
|
<field name="inherit_id" ref="point_of_sale.view_pos_printer_form"/>
|
|
<field name="arch" type="xml">
|
|
<field name="printer_type" position="after">
|
|
<field name="epson_printer_ip" attrs="{'invisible': [('printer_type', '!=', 'epson_epos')]}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
</odoo>
|