Help

0

How to add (add a section and add a note) in one2many field odoo13

Avatar
GGWP

I create custom model and it has one2many field like sale order line .But I don't know how to create add a section and add a note in this one2many field.How can I add this like sale order line.My custom order line has the same field with sale order line ,so I try to use sale order line in my custom model.But everything is working fine before save.When save, get order_id problem because order_id is required field and connect with sale order.So,how can I solve my problem?Please guide me how to add (add a section and add a note) in my one2many field.

1 Comment
Avatar
Discard
Avatar
Ibrahim Boudmir
-

Hi,

add widget="section_and_note_one2many"

1 Answer
1
Best Answer

Hello Please Use widget="section_and_note_one2many" in your One2many field in XML,

To Get Section and Note in Your Custom Model

Thanks

For more information Contact us: -  https://kanakinfosystems.com/odoo-development-services

1 Comment
Avatar
Discard
Avatar
GGWP
-

How can I know section or normal order line?