Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
3531 Представления

Hello!


I'm working on Odoo 17 saas, I'm working on report_saleorder_document, but I'm having a problem rendering the result, this is my code:




The issue is that the sentence after the t-esc for field commitment date is not showed up, any ideas on how to solve it? (sorry i had to upload image because forum doesn't let me put code)


Thanks in advance

Аватар
Отменить
Лучший ответ

Hello Felipe,


I hope this message finds you well.



What I’ve understood is that you are trying to print “Delivery Date” with some text before and after the date field in the “PRO-FORMA Invoice” report in sales order. The issue in the given code is that the attribute “t-option” should be in single quotation. Find  the screenshot below for reference. After implementing the above changes the report will print the desired line as shown in the screenshot.

Feel free to contact me if needed

Hope this will help you.

Thanks & Regards,
Email:  odoo@aktivsoftware.com           

Skype: kalpeshmaheshwari

Аватар
Отменить
Автор

Hello Jainesh thanks for your answer, It's working now... the problem was putting a COMMA "," after the t t-esc my bad...

Лучший ответ

Hello Felipe Garcés

I have just tried above code and it is working fine after the date is rendered


Аватар
Отменить
Автор

Hello! thanks for answer

Автор

Hello Jaiswal, my bad, I was putting a COMMA "," after the t t-esc and it seems it was breaking everything, I removed it and it's fine now. Thanks for your answer

Лучший ответ

Hi Felipe

Try span t-field to add the commitment_date inside the

tag 

check the following code


Regards

Аватар
Отменить
Автор

Hello Mily Shajan, thanks for your answer.

Still doesn't work, I've tried your code and it renders till the date, but after the date is not rendered.

Автор

Hello again Mily I've found the problem, thanks for your answer. My bad this time, I was putting a COMMA "," after the t t-esc and it seems it was breaking everything.

Related Posts Ответы Просмотры Активность
0
мая 24
2170
2
мая 24
4093
2
нояб. 22
6269
0
апр. 24
2075
2
окт. 23
5314