Skip to content

Adds two methods to Odoo ORM in order to recompute function fields

License

Notifications You must be signed in to change notification settings

H-Max/odoo-orm-recompute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Odoo ORM Recompute

This module add two methods to OpenERP / Odoo ORM in order to recompute the values of function fields.

Compatibility

This module has been tested and is functionnal with OpenERP 7.0 (with bzr revno of ./server folder : 5292)

If you successfully has it working with Odoo 8+, please let me know.

Purpose

If your function fields are correctly written (with the store / lambda method), you should not have to install this module because their values will be recomputed when needed.

However, you could one day have to recompute the complex values of one or more stored function fields (particularly if you change the function used to compute the value).

Usage

If you want to recompute all the function fields of an object :

	self.compute_all(cr, user, ids, context)

If you want to recompute a specific list of fields :

	self.compute(cr, user, ids, ['field1','field2'], context)

About

Adds two methods to Odoo ORM in order to recompute function fields

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages