Community mailing list archives

community@mail.odoo.com

Re: control the "create and edit" form view

by
Leonardo Pistone
- 02/01/2016 05:51:34
Have you tried to set context: {'form_view_ref':
'module.view_you_want'} in the m2o field in the view?

On Mon, Feb 1, 2016 at 11:37 AM, Alexandre Fayolle
<alexandre.fayolle@camptocamp.com> wrote:
> Hello all,
>
> I'm looking for a way to control the view used to "create and edit" a
> new record from a m2o field (in Odoo v9). Is this even possible?
>
>
> --
> Alexandre Fayolle
> Chef de Projet
> Tel : +33 4 58 48 20 30
>
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac Cedex
> http://www.camptocamp.com
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe