Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1702 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 23
2349
0
thg 2 21
4895
5
thg 3 20
18371
3
thg 2 23
5949
6
thg 1 24
14371