← Back to team overview

openerp-india team mailing list archive

[Bug 1001260] [NEW] [Trunk/6.1] account.analytic.default - error: name 'datetime' is not defined

 

You have been subscribed to a public bug:

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 &lt; datetime.date.today().strftime('%%Y-%%m-%%d'))" >

i think client web don't accept the datetime object inside colors
attribute

** Affects: openobject-addons
     Importance: Medium
     Assignee: OpenERP R&D Web Team (openerp-dev-web)
         Status: Confirmed

-- 
[Trunk/6.1] account.analytic.default - error: name 'datetime' is not defined
https://bugs.launchpad.net/bugs/1001260
You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Addons.


References