Odoo Help

1 Answer

Odoo Tools

--Odoo Tools--
| 5 2 5
St Petersburg, Russian Federation
--Odoo Tools--

Visit us: https://odootools.com/

OdooTools is the team of developers and business analysts to help you extend Odoo potential. We have been communicating with end users to whom the software became the main business tool since 2012. As a result, we are proud of dozens of successful Odoo apps developed. We are open for new ideas and challenges to create the best Odoo tools for business needs all over the world.

Odoo Tools
25.04.19 06:16

Make sure that:

* you define the _order in the comodel of section_and_note_one2many table. It should be something like:

 _order = "sequence,id"
* you apply the widget 'handle' in the tree view in the column sequence, e.g.:
<field name='section_and_note_one2many'>
        <field name='sequence' widget='handle'/>
        <!-- Other fields -->

No onchange, write, or inverse methods are required. The logic is behind the widget 'handle' and the related javascript. The '_order' is responsible for saving the order

1 Comment
Prabhakar Kevat
26.04.19 02:22

Thanks! It worked. I think the id in _order is required. That's what I was missing.

Ask a Question
Keep Informed
2 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now