openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #11916
[Bug 1001260] Re: [Trunk/6.1] account.analytic.default - error: name 'datetime' is not defined
Hello
We have traced the issue and I think bruno bottacini is right on problem root that Client web do not accept the datetime object inside colors attribute.
Reason is Web client try to render the view it calls the fields_view_get and which return the expression exactly stored on db, where web try to evaluate the those colors expression, so it should me handled by web client.
So I am transferring this bug to the web client. Let me know if i am missing something.
Thank You
** Project changed: openobject-server => openerp-web
** Changed in: openerp-web
Assignee: OpenERP's Framework R&D (openerp-dev-framework) => (unassigned)
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1001260
Title:
[Trunk/6.1] account.analytic.default - error: name 'datetime' is not
defined
Status in OpenERP Web:
Confirmed
Bug description:
install account.analytic.defaul module, create a new analytic default
record. put an end date, save. return to the tree view and remove the
current filter. now you get the error.
problem is in the file account_analytic_default_view.xml at row 9
<tree string="Analytic Defaults"
colors="grey:date_stop and (date_stop <
datetime.date.today().strftime('%%Y-%%m-%%d'))" >
i think client web don't accept the datetime object inside colors
attribute
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/1001260/+subscriptions
References