Community mailing list archives

community@mail.odoo.com

Re: Kanban view

by
Leonardo Donelli
- 01/12/2015 08:48:48
When you drag and drop a kanban card the write method is called to
save the new value of the column field. So you can inherit the write
method and call your function from there. Keep in mind that this way
you will also call your function when the field is changed from the
form view for example, if you want to restrict it to modifications
from the kanban view you could add a key in the context in the kanban
view and check its presence in the write method.

2015-01-12 10:19 GMT+01:00 brecht verhaeghe <brechtverhaeghe@kranksoft.be>:
> Hello,
>
> Do you want to change them while dragging or after a drag and drop happened?
> I assume you mean afterwards.
>
> This can be done if you set the visibility of the fields on the status of
> the kanban column, what's the model you are working on?
>
> Met vriendelijke groeten,
>
> Brecht Verhaeghe
>
> brechtverhaeghe@kranksoft.be
> tel 0497/46 07 27
>
> 2015-01-12 9:58 GMT+01:00 abhishek jaiswal <ia.malhotra@gmail.com>:
>>
>> Hi all,
>>
>> I wanted to change  set of fields when drag and drop happens in kanban
>> view
>>
>> i want to run some python function
>>
>> can anyone help me to do this
>>
>> Thanks
>>
>> --
>> With Warm Regards
>> Abhishek Jaiswal,
>> Website, Blog
>>
>> _______________________________________________
>> Mailing-List: https://www.odoo.com/groups/community-59
>> Post to: mailto:community@mail.odoo.com
>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>
>
> _______________________________________________
> Mailing-List: https://www.odoo.com/groups/community-59
> Post to: mailto:community@mail.odoo.com
> Unsubscribe: https://www.odoo.com/groups?unsubscribe