← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 701810] Re: [account] No '_name' in class account_cash_statement. So what about inheritance ?

 

Hello Olivier,

I have studied your issue. The _name is not a mandatory in _inherit. If
we are not giving the _name of the object then it will take the name of
the parent object.

Thanks.

** Changed in: openobject-addons
       Status: New => Invalid

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/701810

Title:
  [account] No '_name' in class account_cash_statement. So what about
  inheritance ?

Status in OpenObject Addons Modules:
  Invalid

Bug description:
  Addons: revno. 4221

  Searching into account module, and particularly in
  account_cash_statement.py, I see the class 'account_cash_statement'
  that doesn't have any '_name' but have a '_inherit'.

  In Developer Book
  (http://doc.openerp.com/developer/1_2_module_development/3_Inheritance.html)
  we can see that the _name permits us to know in which case the class
  inherits functions and fields ... or not !

  So what about the class 'account_cash_statement' ?





References