← 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

 

** Attachment added: "little script to test this bug"
   https://bugs.launchpad.net/bugs/1059328/+attachment/3360163/+files/test_account_creation.py

** Changed in: openobject-addons
   Importance: Undecided => Critical

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

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