Community mailing list archives

community@mail.odoo.com

Re: Button call both of Object and Action

by
Daniel Reis
- 03/16/2015 05:09:50
Hello Dhaman,

You call an object method, and have it return a dictionary with the action to run on the client afterwards.
See: https://www.odoo.com/documentation/8.0/reference/actions.html#window-actions-ir-actions-act-window

Regards
--Daniel Reis


On 16/03/2015 02:47, Dhaman Odoo wrote:
<blockquote cite="mid:CADUaWkLeMS9ROD7MfrV6umbjtRmTm3tCzD_Hukc6yk-xs28sag@mail.gmail.com" type="cite">
Hello community,

Good morning in Jakarta time.
Finally I ask this question to this mailing list.

I am figure out way how to call both of action & object in one button?
let say I want to change the state value (object) and then call action report (action)

or any way to do this scenario?

Thanks before..


+ Dhaman +

Chief  Technical Officer [at] Indonesian-odoo.com
+62 878 9706 3626

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