I have a web form it contains many input fields. I want to add an one2many field to it so that the user can select multiple lines and save them to DB. I don't know how to do it here is my form containing the other input fields but not one2many field:
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
2254
أدوات العرض
Hi,
You need to create a controller and pass the values to the rendered template. In the template, you can loop it using for-each.
Eg:
<t t-foreach="//passed value" t-as="value">
<t t-esc="value"/>
</t>
You need to create a controller and pass the values to the rendered template. In the template, you can loop it using for-each.
Eg:
<t t-foreach="//passed value" t-as="value">
<t t-esc="value"/>
</t>
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
يناير 23
|
2153 | ||
|
0
سبتمبر 22
|
1981 | ||
|
1
أغسطس 22
|
2851 | ||
|
0
أغسطس 22
|
2137 | ||
|
1
مارس 22
|
1727 |