Hello!!!!
DOes anyone know how to separate two words with comma?
I have a name, surname as stucture.
But, i want to get the name in a column and the surname in the other column.
I am working with qweb (XML)
Can anyone help me please.
Best regards.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hello!!!!
DOes anyone know how to separate two words with comma?
I have a name, surname as stucture.
But, i want to get the name in a column and the surname in the other column.
I am working with qweb (XML)
Can anyone help me please.
Best regards.
Just in addition i would like to share my scenario solved with @Prakash Kumar hint.
My call at 'customer.comment' was returning a string "car, roads, breaks, lights, tires, gears"... The magic split method "inherited" from web.assets_backend convert it to an Array / List and our pretty good <t t-foreach /> works properly.
<t t-if="customer.comment"> <!-- This means, if there are some value at this call -->
<t t-set='prod_serv' t-value="customer.comment.split(',')"/>
<t t-foreach='prod_serv' t-as='ps'>
<li><t t-esc='ps'/></li>
</t>
</t>
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký| Bài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
|---|---|---|---|---|
|
0
thg 4 20
|
3686 | |||
|
5
thg 11 24
|
48713 | |||
|
How to create qweb view
Đã xử lý
|
5
thg 8 20
|
16630 | ||
|
1
thg 9 17
|
5515 | |||
|
3
thg 5 17
|
5669 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.