Il 06/02/2014 15:03, Holger Brunn ha scritto:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
sometime I need to re-compute a field function based on a
particular store structure. I need to recompute the function
without change data in the original recod. It's possible? Now my
solution is to set the store parameter on True, restart the OpenERP
server, stop it, reset the store to the original value and start
the server again. This make me crazy everytime.
create a button that calls _update_store
(http://bazaar.launchpad.net/~openerp/openobject-server/7.0/view/head:/openerp/osv/orm.py#L2795)
on the model/field you want to recompute
Wasn't there a development helper module floating around that does
stuff like this?
- --
Therp - Maatwerk in open ontwikkeling
Holger Brunn - Ontwerp en implementatie
mail: hol...@therp.nl
web: http://therp.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/
iF4EAREIAAYFAlLzljQACgkQAcl2D+yjrhhhogD+PHS1JoQD1YgbHYCgqCQ5+d1N
aJPmJEkuQyjYkn+Gul4BALsmwl8wkEIY21Ys+ehdMJQxkJEFjsVI9FM+EeNKbXU0
=HlH+
-----END PGP SIGNATURE-----
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp
Thank you but for me this ins't a professional solution
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : openerp-community@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp