c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #01836
[Bug 567872] Re: function field updation problem with store attribute
if the priority between function fields are set correctly, it works fine.
I don't see a bug here too.
--
function field updation problem with store attribute
https://bugs.launchpad.net/bugs/567872
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Won't Fix
Bug description:
stable version of openerp server 5.0, revision number 2038
In function field store attribute we define dictionary having objects with fields based on which function field value get updated.
Like in sales module sale.py
'amount_untaxed': fields.function(_amount_all, method=True, digits=(16, int(config['price_accuracy'])), string='Untaxed Amount',
store = {
'sale.order.line': (_get_order, ['price_unit''], 10),
},
multi='sums'),
It works fine, if 'price_unit' is basic field. But when it is function field 'amount_untaxed' value not updated on changes of price_unit field's value.