Impossible to connect when a field is added in res.partner
Hello,
'res.users' is not a _inherits of 'res.partner', this change brought the following side-effect:
Steps to reproduce:
* create a custom addon and install it
* add a field in 'res.partner' in the custom addon, for instance 'company'
* restart the server
* connect to OpenERP in order to update the custom addon
* you can't connect (even with XML/RPC) because it cannot browse 'res.users'
Work-around:
Update the module with ./openerp-server -u <custom_addon>
Traceback of the error:
2013-03-14 11:49:40,802 18631 ERROR openerp_magento7 openerp.sql_db: Programming error: column res_partner.company does not exist
LINE 1: ...r."type"
, in query SELECT res_partner.
loyee",
rtner."
."comment"
s_partner.
tner."signup_
s_partner" WHERE res_partner.id IN %s ORDER BY name
2013-03-14 11:49:40,802 18631 DEBUG openerp_magento7 openerp.
2013-03-14 11:49:40,804 18631 ERROR openerp_magento7 openerp.sql_db: bad query: SELECT res_users.
password"
d",res_
Traceback (most recent call last):
File "/home/
res = self._obj.
InternalError: current transaction is aborted, commands ignored until end of transaction block
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Guewen Baconnier @ Camptocamp
- Solved:
- Last query:
- Last reply:
This question was originally filed as bug #1155102.