Hello, Im using odoo 10. I want to add a field to pos receipt from res.partner. I try to load the field to JS using:
models.load_fields("res.partner", ['credit']);and call it in xml:
t-esc="widget.pos.get_client().credit"
but it doesn't seem to be working.It is functional in odoo 12 but not in Odoo 10. How can I load 'credit' field from res.partner in pos receipt?