Skip to Content
Menu
This question has been flagged
1 Reply
1361 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
Sep 25
1278
1
Aug 25
1119
1
Jul 25
1387
3
Jul 25
4832
3
May 25
2376