check length of names needed
Bug #912358 reported by
Ferdinand
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP's Framework R&D |
Bug Description
sometimes the names for relations can't be stored
example
raising an error with modules to be installed which is hard to recover.
example
account_
this works
account_
but creates an index (cut off)
account_
this fails
account_
obviously name length exceeded
see attachment
Changed in openobject-server: | |
assignee: | nobody → OpenERP's Framework R&D (openerp-dev-framework) |
importance: | Undecided → Low |
status: | New → Confirmed |
To post a comment you must log in.
Hello,
When OpenERP creates relations tables and FK for many2many osv.memory, the generated names should not exceed the postgresql standard maximal size.
Or we should define a limit for the length of the model (osv and osv.memory) names but in a such case the server must check that at the model initialization.
Thanks & Best Regards
Guewen