← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 717804] Re: [6.0] account view_bank_statement_form and view_bank_statement_form2 - useless code

 

Hello DR Ferdinand,

I have checked your issue.

There is no "journal_id" field in account.account object. But we are
overriding the search method for the "journal_id" field which is defined
in account.account object where the "journal_id" should be pass .

So the account_id view 's only non-viewable type account which is set it
to override search method in account.account model.

Please see the line number 183 and 197 of account.py .

Hope this will helpful for you.

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

Title:
  [6.0] account view_bank_statement_form and view_bank_statement_form2 -
  useless code

Status in OpenERP Modules (addons):
  Invalid

Bug description:
  all account_id fields have a domain filter journal_id
  like
  <field domain="[('journal_id','=',parent.journal_id)]" name="account_id"/>

  as there is no journal_id in account_account the filter seems
  unnecessary

  or do I miss something?





References