Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1520 Zobrazení

Please help me in this regard I'll be thankful to you!

Usman Ghias

Please check out the video



My Contact No: 03126912440

Email: usmanghias1@gmail.com

Avatar
Zrušit
Nejlepší odpověď

Hi Usman,


We have watched your video. The displayed error is from the "report_purchaseorder_document_ext" named template that is in the "tus_purchse_extended" module. It says that at the time of checking attention_name, expects a single record but gets multiple records from the model res.partner. This is called a singleton error. To resolve this issue, you can add an iteration before checking the <span t-if="attention_name"> as mentioned below.


<t t-foreach="add the record that gets singleton error here" t-as="partner">

        add the rest of the template code here according to the iteration

</t>


Hope this helps.

   

       

           

               


           

       

   


Hope it helps

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 23
2173
0
úno 21
4679
5
bře 20
18062
3
úno 23
5740
6
led 24
14087