--update=all fails to migrate some database tables

Bug #433886 reported by Márcio Santos
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Server (MOVED TO GITHUB)
Fix Released
Undecided
Ujjvala Collins

Bug Description

OpenERP Stable Server from Launchpad revision 1853
OpenERP Stable Addons from Launchpad revision 2409

Running under Ubuntu 8.04.03 LTS

Trying to update database after latest pull returns errors trying to chnage database column type:

[2009-09-21 10:35:36,463] INFO:init:module account: loading objects
[2009-09-21 10:35:36,521] INFO:init:module account: creating or updating database tables
[2009-09-21 10:35:37,454] WARNING:orm:column 'amount_untaxed' in table 'account_invoice' has changed type (DB = float8, def = float) but unable to migrate this change !
[2009-09-21 10:35:37,460] WARNING:orm:column 'amount_tax' in table 'account_invoice' has changed type (DB = float8, def = float) but unable to migrate this change !
[2009-09-21 10:35:37,471] WARNING:orm:column 'residual' in table 'account_invoice' has changed type (DB = float8, def = float) but unable to migrate this change !
[2009-09-21 10:35:37,482] WARNING:orm:column 'amount_total' in table 'account_invoice' has changed type (DB = float8, def = float) but unable to migrate this change !
[2009-09-21 10:35:37,503] WARNING:orm:column 'price_subtotal' in table 'account_invoice_line' has changed type (DB = float8, def = float) but unable to migrate this change !

Is this normal and i shouldn't worry about it or is there a real problem?

Thanks for your time,

Márcio Santos

Related branches

Changed in openobject-server:
status: New → Confirmed
assignee: nobody → uco (Open ERP) (uco-openerp)
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Márcio Santos,

No its just a warning, nothing to worry about.

Would you please apply the attached patch and let us know?

Thank you.

Revision history for this message
Márcio Santos (marcio.santos) wrote :

Good morning Jay.

I currently don't have access to a development server to try the patch out.

Will get back to you as soon as possible.

Thanks for your time,

Márcio

Revision history for this message
Husen Daudi (husendaudi) wrote :

You can apply above patch in #2 in you local source and check.

Changed in openobject-server:
status: Confirmed → In Progress
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello Márcio Santos,

The improved patch is attached herewith.

You may try and go for this.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :
Changed in openobject-server:
status: In Progress → Fix Released
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

Hello ,

It has been fixed by revision 1862 <email address hidden>.

Thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.