跳至內容
選單
此問題已被標幟
2 回覆
4069 瀏覽次數

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 ?

頭像
捨棄

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

最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
9月 15
4827
0
3月 15
5102
0
3月 15
2861
1
3月 15
8372
1
3月 15
3486