Many2one relationship, meaning of index and copy
order_id = fields.Many2one('sale.order', string='Order Reference', required=True, ondelete='cascade', index=True, copy=False)
What index and copy means?
What about ondelete='cascade'?
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
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now