_store_function dictionary does not get updated when field changes its type from function to any other storable!
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
High
|
Vinay Rana (OpenERP) |
Bug Description
Server revno: 2017
Addons revno: 2680
Client revno:
Hi
In the attachement there a module to test this bug. the module function2float change the field type of the field
'price_subtotal' of account_
price_subtotal is a field.function and a i want a field float. When you make a create or a write on the field, orm call
the 'get' method or a field float hasn't got a implemented get method.
install my module whitout demo, make a invoice and add it a invoice line and save the invoice
-------
[2010-03-31 09:27:06,537] ERROR:web-
[2010-03-31 09:27:06,537] ERROR:web-
[2010-03-31 09:27:06,538] ERROR:web-
[2010-03-31 09:27:06,538] ERROR:web-
[2010-03-31 09:27:06,538] ERROR:web-
[2010-03-31 09:27:06,538] ERROR:web-
[2010-03-31 09:27:06,539] ERROR:web-
[2010-03-31 09:27:06,539] ERROR:web-
[2010-03-31 09:27:06,539] ERROR:web-
[2010-03-31 09:27:06,539] ERROR:web-
[2010-03-31 09:27:06,539] ERROR:web-
[2010-03-31 09:27:06,540] ERROR:web-
[2010-03-31 09:27:06,540] ERROR:web-
[2010-03-31 09:27:06,540] ERROR:web-
[2010-03-31 09:27:06,540] ERROR:web-
[2010-03-31 09:27:06,540] ERROR:web-
[2010-03-31 09:27:06,540] ERROR:web-
[2010-03-31 09:27:06,541] ERROR:web-
[2010-03-31 09:27:06,541] ERROR:web-
[2010-03-31 09:27:06,541] ERROR:web-
[2010-03-31 09:27:06,541] ERROR:web-
[2010-03-31 09:27:06,541] ERROR:web-
[2010-03-31 09:27:06,542] ERROR:web-
[2010-03-31 09:27:06,542] ERROR:web-
[2010-03-31 09:27:06,542] ERROR:web-
[2010-03-31 09:27:06,542] ERROR:web-
[2010-03-31 09:27:06,543] ERROR:web-
[2010-03-31 09:27:06,543] ERROR:web-
[2010-03-31 09:27:06,543] ERROR:web-
[2010-03-31 09:27:06,543] ERROR:web-
-------
Distribution: Ubuntu
Version: 9.10 (karmic)
Python 2.6.4
Locale:
LANG=fr_FR.UTF-8
Regards Jean-Sébastien
Related branches
Changed in openobject-server: | |
assignee: | nobody → vra (openerp) (vra-openerp) |
Changed in openobject-server: | |
importance: | Undecided → High |
milestone: | none → 5.0.9 |
Changed in openobject-server: | |
milestone: | 5.0.9 → 5.0.10 |
Changed in openobject-server: | |
status: | Confirmed → In Progress |
Hello Jean-Sebastien SUZANNE - http:// www.Syleam. fr,
Thank you very much for pointing this out.
Would you please apply the following patch and update the module again and check?
Thanks.