Skip to Content
Menu
This question has been flagged
1 Reply
1505 Views
I'm trying to add an input field to the ClosePosPopup view, could someone tell me how? I have tried it in several ways and it doesn't show me anything. Thank you.

Avatar
Discard

Can you please share some code.
So we will know where you are doing mistake.

Author Best Answer

xml version="1.0" encoding="UTF-8"?>

templates id="template" xml:space="preserve">

 t t-inherit="point_of_sale.ClosePosPopup" t-inherit-mode="extension">

 xpath expr="//div[hasclass('notes-container')]" position="after">

 div>

 input class="pos-input" name="closing_note"/> 

 /div>

 /xpath>

 /t>

/templates>


         

             

                  

             

         

 


this is my template file

Avatar
Discard
Related Posts Replies Views Activity
2
Oct 25
522
1
Sep 25
1411
2
Sep 25
1601
1
Aug 25
1283
1
Jul 25
1591