Comment 4 for bug 487649

Revision history for this message
Anup(SerpentCS) (anup-serpent) wrote :

Hello Niels,

We have checked in windows with latest version.

We are able to get the context from the button.

What we did is: Called an action from button.

It would be best if you give the module,so we can trace whether its the programming issue or really a bug.

As said by Jay(OpenERP), the field project_id should belong to the form view of the current object.

<field name="period_id" select="2"/>
<button name="%(action_open_accounts)d" string="Import Invoice" type="action" context="{'name_ach':period_id}"/>

This action belongs to account.account. Now, If I go to the search method of account.account, I clearly meet to the context.

Thank you.