Community: Framework mailing list archives

expert-framework@mail.odoo.com

Re: Inheritance by delegation views and active_id

by
OpenCloud Unipessoal LDA, Ricardo Martins
- 09/03/2014 15:46:58
When u inherit you should'nt use the on the id of your view the id of the original view, because that replaces the original view. What you should and want to do is something like:

id=your_id
inheir=module.original_view

Hope it helps...

Bom trabalho e divirta-se! 
Ricardo Martins
Telemóvel: (+351) 919110400
Opencloud


2014-09-03 19:52 GMT+01:00 Steve Haufe <shaufe@qualbe.com>:
Hi All,

I've created a child module of res.partner using Inheritance by delegation. I've created a view that inherits view_partner_form.

Problem is that when I'm viewing my child form the buttons that are referring to the res.partner model are using the id of my module and not res.partner. This is causing issues for meetings and calls.

I still want the all the functionally of res.partner to be associated with that model.

Is this a bug, or is there a some method I'm missing for fixing the new form.

I'm using 8, ccf91e067cc42794355af3f4a26a5056f2baf487

Thanks
Steve

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-framework-62
Post to: mailto:expert-framework@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe