← Back to team overview

openerp-india team mailing list archive

[Bug 1098746] Re: account_analytic_default_normal_form_inherit_sec bug in the open menu analytic default

 

*** This bug is a duplicate of bug 1001260 ***
    https://bugs.launchpad.net/bugs/1001260

** This bug has been marked a duplicate of bug 1001260
   [Trunk/6.1] account.analytic.default - error: name 'datetime' is not defined

-- 
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/1098746

Title:
  account_analytic_default_normal_form_inherit_sec bug in the open menu
  analytic default

Status in OpenERP Addons (modules):
  New

Bug description:
  Error  in de line
  grey:'date_stop','and',('date_stop','<',(datetime.date.today().strftime('%%Y-%%m-%%d')))
  the write not

  path code:

      <record model="ir.ui.view" id="account_analytic_default_normal_form_inherit_sec">
          <field name="name">account.analytic.default.form.inherit</field>
          <field name="type">form</field>
          <field name="model">account.analytic.default</field>
          <field name="inherit_id" ref="account_analytic_default.view_account_analytic_default_tree"/>
          <field name="arch" type="xml">	
              <tree string="Analytic Defaults" position="attributes">
  		 		<attribute name="colors">grey:'date_stop','and',('date_stop','&lt;',(datetime.date.today().strftime('%%Y-%%m-%%d')))</attribute>
  	 		</tree>   
          </field>
      </record>

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1098746/+subscriptions