تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4027 أدوات العرض

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
سبتمبر 15
4794
0
مارس 15
5061
0
مارس 15
2832
1
مارس 15
8335
1
مارس 15
3462