← 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

 

Let explain Amit, about your comment.

THe patch bring the change to view!, and technically is allowed doint
this is aht my script demostrate, if you see diff, Fabien is taking off
the validation on create and write, IMHO this is tottally wrong.

Openerp Can not allow for any reason (By client or Web Services [as my
script does]) allow put accounts different than view or consolidate as
parent!

Regards.

-- 
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):
  Opinion

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