Skip to Content
Menu
This question has been flagged
1 Atsakyti
10589 Rodiniai

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?

Portretas
Atmesti
Best Answer

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
Portretas
Atmesti
Autorius

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

Autorius

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/

Autorius

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 Replies Rodiniai Veikla
2
geg. 24
7178
2
rugs. 23
4492
0
bal. 19
2174
1
lapkr. 19
4701
2
rugs. 24
1057