Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
2 Vastaukset
4104 Näkymät

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
Hylkää

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

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
syysk. 15
4843
0
maalisk. 15
5132
0
maalisk. 15
2900
1
maalisk. 15
8414
1
maalisk. 15
3504