This question has been flagged
2 Replies
2371 Views

am starting on odoo 12 am working on project named 'immobilier' and i have to have a customer model  and i want to use customer model existing on sale, 

how do i do that ?

Avatar
Discard

Use Odoo inheritance: https://goo.gl/4Zyc9d

Best Answer

Hi,

If you are looking to add the customer  model in your module, you can inherit the corresponding model and add new fields into it if needed also if you need to alter the views also, you can use inherit and make necessary changes. Have a look at this video explaining how to add new field to an existing model and show the newly added field in the view.

See: How To Inherit And Add Field to Existing Views In Odoo

Thanks

Avatar
Discard