Skip to Content
Menu
This question has been flagged
1 Reply
1178 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
1
Aug 25
798
1
Jul 25
1056
3
Jul 25
3548
3
May 25
1899
1
Jul 25
1242