credativ team mailing list archive
-
credativ team
-
Mailing list archive
-
Message #05211
[Merge] lp:~credativ/openobject-server/fix-6.0-digitcompute-orm_memory into lp:~credativ/openobject-server/credativ-6.0
Kinner Vachhani has proposed merging lp:~credativ/openobject-server/fix-6.0-digitcompute-orm_memory into lp:~credativ/openobject-server/credativ-6.0.
Requested reviews:
Richard Lewis (richard-lewis-r): internal review
Related bugs:
Bug #1190392 in OpenERP Server: "incoming shipment wizard cost field is only 2 decimal places"
https://bugs.launchpad.net/openobject-server/+bug/1190392
For more details, see:
https://code.launchpad.net/~credativ/openobject-server/fix-6.0-digitcompute-orm_memory/+merge/169076
[Bug fix] orm memory not considering digits_compute
--
https://code.launchpad.net/~credativ/openobject-server/fix-6.0-digitcompute-orm_memory/+merge/169076
Your team credativ is subscribed to branch lp:~credativ/openobject-server/credativ-6.0.
=== modified file 'bin/osv/orm.py'
--- bin/osv/orm.py 2011-10-20 13:21:28 +0000
+++ bin/osv/orm.py 2013-06-12 23:11:24 +0000
@@ -1899,6 +1899,12 @@
def __init__(self, cr):
super(orm_memory, self).__init__(cr)
+
+ #[Bugfix] digit_compute not working
+ for store_field in self._columns:
+ if hasattr(self._columns[store_field], 'digits_change'):
+ self._columns[store_field].digits_change(cr)
+
self.datas = {}
self.next_id = 0
self.check_id = 0
Follow ups