openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #21903
[Bug 1102612] [NEW] Journals can not be deleted, even when they have no entries
Public bug reported:
7.0 creates, as part of the default accounting setup, a "Bank" and a
"Cash" journal. Attempting to delete either of these journals presents
the cryptic error:
Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: account.journal.cashbox.line -
account.journal.cashbox.line]
This is also just as relevant to any journal created by the user.
There is indeed a table account.journal.cashbox.line that references the
journal, but it's extra confusing to a user since no action was ever
taken to associate this journal with a cashbox, and there does not
appear to be any way to delete the offending
account.journal.cashbox.line records through the UI that I have found.
Deleting them directly from the database is of course possible, but
probably not an acceptable workaround for typical users.
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/1102612
Title:
Journals can not be deleted, even when they have no entries
Status in OpenERP Addons (modules):
New
Bug description:
7.0 creates, as part of the default accounting setup, a "Bank" and a
"Cash" journal. Attempting to delete either of these journals presents
the cryptic error:
Integrity Error
The operation cannot be completed, probably due to the following:
- deletion: you may be trying to delete a record while other records still reference it
- creation/update: a mandatory field is not correctly set
[object with reference: account.journal.cashbox.line -
account.journal.cashbox.line]
This is also just as relevant to any journal created by the user.
There is indeed a table account.journal.cashbox.line that references
the journal, but it's extra confusing to a user since no action was
ever taken to associate this journal with a cashbox, and there does
not appear to be any way to delete the offending
account.journal.cashbox.line records through the UI that I have found.
Deleting them directly from the database is of course possible, but
probably not an acceptable workaround for typical users.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1102612/+subscriptions
Follow ups
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: qdp (OpenERP), 2013-02-15
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Launchpad Bug Tracker, 2013-02-15
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: qdp (OpenERP), 2013-02-15
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Phil Frost, 2013-01-25
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Phil Frost, 2013-01-25
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Tejas Tank (OpenERP), 2013-01-24
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Tejas Tank (OpenERP), 2013-01-24
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Tejas Tank (OpenERP), 2013-01-23
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Khushboo Bhatt(openerp), 2013-01-23
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Khushboo Bhatt(openerp), 2013-01-23
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Tejas Tank (OpenERP), 2013-01-23
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Tejas Tank (OpenERP), 2013-01-23
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Amit Parik (OpenERP), 2013-01-22
-
[Bug 1102612] Re: [Trunk/7.0]Journals can not be deleted, even when they have no entries
From: Khushboo Bhatt(openerp), 2013-01-22
-
[Bug 1102612] Re: Journals can not be deleted, even when they have no entries
From: Phil Frost, 2013-01-21
-
[Bug 1102612] [NEW] Journals can not be deleted, even when they have no entries
From: Phil Frost, 2013-01-21
References