openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #27125
[Bug 1271834] [NEW] Too slow import, please rethink usage of transactions
Public bug reported:
When importing thousands of partners from other programs, it can be
exasperating.
At least, I have spotted one thing could be done better: Button "Import"
should only send a "commit" command.
Now, when pressing "validate", it makes a transaction to test if it can
be imported. Then it sends a "rollback". Then when pressing "Import",
the process is made again from the begining, but ends in a "commit"
instead.
Why not just leave that transaction there after validating and just
commit if the user presses import and rollback it if he leaves the page
or presses cancel (no cancel button for now, it should be added, maybe
as a popup message).
That would reduce easily the time by 50% in all cases.
** 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/1271834
Title:
Too slow import, please rethink usage of transactions
Status in OpenERP Addons (modules):
New
Bug description:
When importing thousands of partners from other programs, it can be
exasperating.
At least, I have spotted one thing could be done better: Button
"Import" should only send a "commit" command.
Now, when pressing "validate", it makes a transaction to test if it
can be imported. Then it sends a "rollback". Then when pressing
"Import", the process is made again from the begining, but ends in a
"commit" instead.
Why not just leave that transaction there after validating and just
commit if the user presses import and rollback it if he leaves the
page or presses cancel (no cancel button for now, it should be added,
maybe as a popup message).
That would reduce easily the time by 50% in all cases.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1271834/+subscriptions
Follow ups
References