openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #12239
[Bug 1001260] Re: [Trunk/6.1] account.analytic.default - error: name 'datetime' is not defined
Hello.
As per Antony's decision, this feature (using datetime in colors
expression) is not supported in the web client since 6.1. If there are
still addons using that feature, it is considered as a bug in the addon
and it should be removed. That's why I re-assign this bug to the addons
teams to remove it.
** Project changed: openerp-web => openobject-addons
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1001260
Title:
[Trunk/6.1] account.analytic.default - error: name 'datetime' is not
defined
Status in OpenERP Addons (modules):
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/openobject-addons/+bug/1001260/+subscriptions
References