I have checked the bug resport on the commission but I failed to reproduce
it on your server. However there are some issues which I have noticed and
are very important:
1) My selection function is called only on the fields_view_get so there may
be the case when the form is not refreshed after server restart and then
causing the error which you described. May be u encountered the same issue.
2)When we change the product and then also we are getting the same options.
So, I think we should call the options function on the product on_change
event also(But that will be a bit difficult because form needs to be
refreshed to change the option list). However since its an important
feature therefore I can look in the code of the selection field once again
to go in more detail and see if there is any alternative.
Pls, give me the feedback on these issues. Also, I woke up early in the
morning for testing because I may not available till 6pm IST since there is
a very urgent work(Hopefully I will be free after today). but after that I
will be available. Also from tomorrow I will be available on my usual
timings.
Thanks and best Regards!
On Fri, Jun 1, 2012 at 7:44 PM, YannickB <email address hidden> wrote:
> Also, once you finished your work on Destock, this bug become a
> priority.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1007444
>
> Title:
> [AVA] Random Bug with option
>
> Status in SYNERPGY Projects:
> New
>
> Bug description:
> Hi vivek,
>
> We have some errors with the option field :
>
> OpenErp lib says :: -1 -- Traceback (most recent call last):
> File
> "/home/openerp_user/openerp/openerp_V6_stable/server/bin/netsvc.py", line
> 489, in dispatch
> result = ExportService.getService(service_name).dispatch(method,
> auth, params)
> File
> "/home/openerp_user/openerp/openerp_V6_stable/server/bin/service/web_services.py",
> line 599, in dispatch
> res = fn(db, uid, *params)
> File
> "/home/openerp_user/openerp/openerp_V6_stable/server/bin/addons/audittrail/audittrail.py",
> line 518, in execute
> res = my_fct(db, uid, model, method, *args)
> File
> "/home/openerp_user/openerp/openerp_V6_stable/server/bin/addons/audittrail/audittrail.py",
> line 496, in my_fct
> return fct_src(db, uid_orig, model, method, *args)
> File
> "/home/openerp_user/openerp/openerp_V6_stable/server/bin/osv/osv.py", line
> 126, in wrapper
> self.abortResponse(1, inst.name, 'warning', inst.value)
> File
> "/home/openerp_user/openerp/openerp_V6_stable/server/bin/netsvc.py", line
> 70, in abortResponse
> raise Exception("%s -- %s\n\n%s"%(origin, description, details))
> Exception: warning -- ValidateError
> The value "Annulation 90J" for the field "option" is not in the selection
>
> The big problem with this error is that it appears randomly. Sometimes
> it works, sometimes not. Of course, this is a big problem, we need a
> more reliable feature.
>
> Try to connect to 91.216.203.101:8080, base testcroamac4 admin/admin.
> Create or modify some product, try to create some contract and see what
> you can do.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/synerpgy-projects/+bug/1007444/+subscriptions
>
Hi Yannick!
I have checked the bug resport on the commission but I failed to reproduce
it on your server. However there are some issues which I have noticed and
are very important:
1) My selection function is called only on the fields_view_get so there may
be the case when the form is not refreshed after server restart and then
causing the error which you described. May be u encountered the same issue.
2)When we change the product and then also we are getting the same options.
So, I think we should call the options function on the product on_change
event also(But that will be a bit difficult because form needs to be
refreshed to change the option list). However since its an important
feature therefore I can look in the code of the selection field once again
to go in more detail and see if there is any alternative.
Pls, give me the feedback on these issues. Also, I woke up early in the
morning for testing because I may not available till 6pm IST since there is
a very urgent work(Hopefully I will be free after today). but after that I
will be available. Also from tomorrow I will be available on my usual
timings.
Thanks and best Regards!
On Fri, Jun 1, 2012 at 7:44 PM, YannickB <email address hidden> wrote:
> Also, once you finished your work on Destock, this bug become a /bugs.launchpad .net/bugs/ 1007444 openerp_ user/openerp/ openerp_ V6_stable/ server/ bin/netsvc. py", line getService( service_ name).dispatch( method, openerp_ user/openerp/ openerp_ V6_stable/ server/ bin/service/ web_services. py", openerp_ user/openerp/ openerp_ V6_stable/ server/ bin/addons/ audittrail/ audittrail. py", openerp_ user/openerp/ openerp_ V6_stable/ server/ bin/addons/ audittrail/ audittrail. py", openerp_ user/openerp/ openerp_ V6_stable/ server/ bin/osv/ osv.py" , line nse(1, inst.name, 'warning', inst.value) openerp_ user/openerp/ openerp_ V6_stable/ server/ bin/netsvc. py", line 203.101: 8080, base testcroamac4 admin/admin. /bugs.launchpad .net/synerpgy- projects/ +bug/1007444/ +subscriptions
> priority.
>
> --
> You received this bug notification because you are a bug assignee.
> https:/
>
> Title:
> [AVA] Random Bug with option
>
> Status in SYNERPGY Projects:
> New
>
> Bug description:
> Hi vivek,
>
> We have some errors with the option field :
>
> OpenErp lib says :: -1 -- Traceback (most recent call last):
> File
> "/home/
> 489, in dispatch
> result = ExportService.
> auth, params)
> File
> "/home/
> line 599, in dispatch
> res = fn(db, uid, *params)
> File
> "/home/
> line 518, in execute
> res = my_fct(db, uid, model, method, *args)
> File
> "/home/
> line 496, in my_fct
> return fct_src(db, uid_orig, model, method, *args)
> File
> "/home/
> 126, in wrapper
> self.abortRespo
> File
> "/home/
> 70, in abortResponse
> raise Exception("%s -- %s\n\n%s"%(origin, description, details))
> Exception: warning -- ValidateError
> The value "Annulation 90J" for the field "option" is not in the selection
>
> The big problem with this error is that it appears randomly. Sometimes
> it works, sometimes not. Of course, this is a big problem, we need a
> more reliable feature.
>
> Try to connect to 91.216.
> Create or modify some product, try to create some contract and see what
> you can do.
>
> To manage notifications about this bug go to:
> https:/
>
--
-*- *Vivek Poddar* -*-
*Technical consultant (OpenERP)*
*Blog:http:// vivekimsit. blogspot. in/
*