openerp-expert-accounting team mailing list archive
-
openerp-expert-accounting team
-
Mailing list archive
-
Message #00863
use of sequences for generation of unique id of complex views
Hello
We have tried to create a view using nextval(seq) as id
see attached module (which will not install without modification due to
missing menu entry)
after creating the sequence and rule manually the module loads
GTK and Web immediately display nothing
Koo takes a long time to fetch all records (given the id numbers it must have
read the table multiple times)
querying a category for example returns 4 "empty" rows
I suspect that the server tryes to lock the rows (which IMHO does not make
much sense for immutable views)
Questions
* is it possible to use sequences and if yes how to do this
* IMHO OpenERP should provide a method to generate "usable" ids for complex
views where the id can not simply be generated using id's form the underlying
tables.
thank you for looking into this issue.
--
regards
Ferdinand Gassauer
ChriCar Beteiligungs- und Beratungs- GmbH
Official OpenERP Partner
Attachment:
dimu_partner_category_country.zip
Description: Zip archive