Skip to content
Snippets Groups Projects
Commit a25933be authored by Olivier Dony's avatar Olivier Dony
Browse files

[IMP] res.currency: better/working default values

bzr revid: odo@openerp.com-20111005002956-1tfe5u13qid3intk
parent 5cc7c400
No related branches found
No related tags found
No related merge requests found
......@@ -71,6 +71,8 @@ class res_currency(osv.osv):
_defaults = {
'active': lambda *a: 1,
'position' : 'after',
'rounding': 0.01,
'accuracy': 4,
}
_sql_constraints = [
# this constraint does not cover all cases due to SQL NULL handling for company_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment