Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: POS Epson Printer

Entity: res.config.settings

Compute Method: _compute_pos_epson_printer_ip

Inputs Method Outputs
  • pos_other_devices
  • pos_config_id
  • pos_config_id.epson_printer_ip
for res_config in self:
            if not res_config.pos_other_devices:
                res_config.pos_epson_printer_ip = ''
            else:
                res_config.pos_epson_printer_ip = res_config.pos_config_id.epson_printer_ip

Back to entity