Help

0

how to use customer model in an external model ??

Avatar
BOUDEKAK MOHAMED

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 ?

1 Comment
Avatar
Discard
Avatar
Sehrish
-

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

1 Answer
2
Avatar
Niyas Raphy
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