Hello guys,
I have seen other post on the subject. But I don't understand.
How to insert company address in the pos receipt?
In the file /home/odoo-test/odoo-test/addons/point_of_sale/static/src/xml/pos.xml :
I can display the id of the partner associated with the company;
<t t-esc="widget.pos.company.partner_id"/>
But this one doesn't work to get the street of this related partner (for example) :
<t t-esc="widget.pos.company.partner_id.street"/>
Idea?
Ref :
UPDATE #1
It is almost perfect. I will try to delete this « 53, » just in front of the state_id (it is the id of Quebec).
Hey, I don't want address of the customer. I want address of the company who makes the receipt. :)