Odoo Aide

0

1
1 Answer
8
Avatar

Nilmar Shereef

--Nilmar Shereef--
--Nilmar Shereef--

Python Developer. Odoo Techno Functional Consultant.

Nilmar Shereef
18/12/2016 23:10

copy=False
If you put copy=False to a field, When you duplicate a record, That value is not copied to duplicating (Newly created)record.

ondelete='cascade'

If you put this to a Many2one field, the deletion of record will cause to deletion of one2one records according to that record.
Eg:

When you delete a Sale Order, It will delete sale order lines also.

Index=True

you can speed the database search performance. However, you should be careful not to add indexes on too many fields because the size of the database can rapidly increase. What means, you should carefully detect the most searchable fields and to create indexes for them only.

Hope it may help you :)

2 Comments
E.M.
19/12/2016 03:46

Thanks, it helps.

Nilmar Shereef
20/12/2016 00:15

Happy To help you. :)

Poser une question
Writer
408
E.M.
Keep Informed
2 Abonné(e)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.

Register
Odoo Training Center

Access to our eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now