Enterprise 10, Self-hosted, Ubuntu 16.04, POS Box
I've found several tutorials on editing the POS Receipt and know where the code is to edit. What do I put in to show the product Internal Reference (default_code) in brackets before the product name? Or instead of that, have the Display Name appear instead of just product name. We have too many items with the same name and need to know which one it is if a customer returns or would like to get more and don't know the details.
I have tried adding:
<t t-esc='line.product_default_code' />
<t t-esc='line.product_defaultcode' />
...line.product.default_code...
Nothing is working. What should I use to get the internal reference to appear?
Have you tried like name_get()?
name_get() didn't give anything. Tried changing around and using other options but either gave errors or nothing.