Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
1323 Vistas

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
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 23
1946
0
feb 21
4441
5
mar 20
17675
3
feb 23
5559
6
ene 24
13820