You can add customer search in point of sale interface by adding following code in 'pos.xml' file.
<label>Costomer :</label> <select> <t t-foreach="widget.pos.attributes.partner_list" t-as="partner"> <option t-att-value="partner.name"> <t t-esc="partner.name" /> </option> </t> </select>
In partner_list in "widget.pos.attributes.partner_list" you have to pass a list of partner you want to search in point of sale interface.
Thanks, Serpent Consulting Services.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 3/14/13, 8:46 AM|
|Seen: 4316 times|
|Last updated: 3/12/16, 12:38 AM|