Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
10707 Переглядів

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
7317
2
вер. 23
4595
0
квіт. 19
2274
1
лист. 19
4778
2
вер. 24
1144