Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
10807 มุมมอง

Hi, in odoo 12 i found this:

<tree string="Sales Quotation Template Lines" editable="bottom">
    <control>
        <create string="Add a product"/>
    </control>
    <field name="sequence" widget="handle"/>
    ...

maybe someone knows where are guides for this control?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

You'll find all guides in the developer documentation. The widget "handle" is described here: https://www.odoo.com/documentation/12.0/reference/views.html

< quote "because the editor is broken once again">

widget

alternate representations for a field’s display. Possible list view values are:

progressbar
displays float fields as a progress bar.
many2onebutton
replaces the m2o field’s value by a checkmark if the field is filled, and a cross if it is not
handle
for sequence fields, instead of displaying the field’s value just displays a drag&drop icon
< /quote
อวตาร
ละทิ้ง
ผู้เขียน

thanks for the link, tag 'field' in this code just for example) question was only in tag 'control' :)

ผู้เขียน

Nevertheless, there are only a couple of lines about it, I would like to find some guide about creating a custom view, like a product configurator

A product configurator is by light years far out of the realm of your question. You may want to read about this: https://www.odoo.com/apps/modules/10.0/product_configurator/

ผู้เขียน

I read, now another implementation of the configurator, I found the code, but in this topic, I ask if there may be a broader description of these innovations

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ค. 24
7427
Dynamic tree view in odoo 12 แก้ไขแล้ว
2
ก.ย. 23
4656
0
เม.ย. 19
2385
1
พ.ย. 19
4846
odoo exam certificate control แก้ไขแล้ว
2
ก.ย. 24
1201