error on the init of report_timesheet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Stephane Wirtel (OpenERP) |
Bug Description
Hi,
This morning I make a bzr pul to get the last revision of the V5.
When I launch the server with the option update=all on my database.
I got the following message:
[Mon Dec 22 09:05:44 2008] INFO:init:module report_timesheet: registering objects
[Mon Dec 22 09:05:44 2008] INFO:init:module report_timesheet loading objects
[Mon Dec 22 09:05:44 2008] INFO:init:module report_timesheet: creating or updating database tables
Traceback (most recent call last):
File "openerp-
pooler.
File "/home/
addons.
File "/home/
load_
File "/home/
init_
File "/home/
obj.init(cr)
File "/home/
""")
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
psycopg2.
when i check the code of report_
I indentified that the problem comes from this order:
create or replace view report_
)
In fact, it should do a drop view instead of a "replace view" when you add a new column (company_id in this case).
Related branches
- OpenERP Core Team: Pending requested
- Diff: None lines
- Husen Daudi (community): Approve
- Diff: None lines
Changed in openobject-addons: | |
assignee: | nobody → matrixise |
Changed in openobject-addons: | |
status: | New → Fix Released |
Hi,
Could you release the fix in the stable too ?