Hi, I'm kind of new with Odoo and I'm in a bit of a struggle at the moment, allow me to ellaborate:
I need to change both the screens.js and pos.xml files so that I can have two buttons in the print screen: one that prints the default receipt when clicked and another that prints a different template.
So far, I've created the second template in the pos.xml file and included the second button on the screen, but I'm stuck when it comes to editing the functions that would make the second button work.
I'm trying to track down the functions that take the default PosTicket template and "connect it" to the default button so I can copy the default ones and edit them to fit the second button and its template.
Which are the functions that I should duplicate and configure?