Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1830 Zobrazení

I am trying to investigate an issue where suddenly Odoo tried to alter the volume field of our product.template from Numeric to Floating Precision.


This field originally had no digits decimal precision. However, one of our modules inherits to add:

volume = fields.Float('Volume', digits=dp.get_precision('Stock Volume'),...

 I saw in the code that if no digits is specified, the column is a floating precision and if one is specified it becomes numeric.


Currently it is already numeric but I don't understand why it tried to alter the DB back to a floating precision. No module upgrade was run.


What could cause such a behaviour?


Thanks

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
pro 22
2623
2
dub 17
7420
2
bře 16
7811
3
pro 23
22959
0
kvě 15
3629