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

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?

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

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
Ảnh đại diện
Huỷ bỏ
Tác giả

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

Tác giả

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/

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 5 24
7297
2
thg 9 23
4572
0
thg 4 19
2251
1
thg 11 19
4759
2
thg 9 24
1129