← Back to team overview

openerp-india team mailing list archive

[Bug 1059328] Re: [trunk] Regression - Accounts of type <> view allow be setted as parent of other account

 

Hello Nhomar,

Thanks for your valuable reply, Now I got the exact problem which you
want to say on bug report.

If we are trying to create or write any account or account template then
it will allow us to create/write account with parent account type <>
view. I have seen http://bazaar.launchpad.net/~openerp/openobject-
addons/trunk/revision/7687 revision it removed the exception message
which required much. Cause if we have create/edit account though script
then it will never consider the domain on it.

@Nhomar Thank you very much for such a nice bug report!

** Changed in: openobject-addons
       Status: Opinion => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 3 (openerp-dev-addons3)

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

Title:
  [trunk] Regression - Accounts of type <> view allow be setted as
  parent of other account

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hello.

  My friend Fabien, in your commit 7687 [1] you introduce one bug solved
  3 years ago, in this dates we have already one discusion why for ANY
  reason you can set as parent of other account an accout of type
  different of view.

  Can you please left the commit with the domain on fields [Line 2521 of
  the diff], but put again the constraint in write and create please.

  In our experience, when we show in CTP training that the
  account.account model will never allow to do this, the sleep quiet!,
  with this commit it will broke a lot of thing with inconsistencies.

  The orm and the account API you said will not change, please mantain
  your word my friend, if it must change, we must discuss a lot first.

  Regards.

  [1] http://bazaar.launchpad.net/~openerp/openobject-
  addons/trunk/revision/7687

  PS.: How do we tryied?

  Simplpe try using any web-service to create an account, i attach a

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


References