Comment 5 for bug 925622

Revision history for this message
Cuong (bhcuong2008) wrote :

Hi Olivier,

I've tried a lot of test cases, and found an issue. It is related to 'form_view_ref' in context. In view definition as below,
===
<field name="product_id" context={'form_view_ref': '.....'}/>
===
Then all contents of context defined in python class will have no effects, the context is overridden by the above definition. So, this issue affects my default value passed in field definition of its class. I think it is one of reasons that cause my issue.

I've tested on my own project. I just take product class as an example.

Thanks,