Commit Graph

93 Commits

Author SHA1 Message Date
Olivier Dony dcb5ff6eac [IMP] res.currency,base: factor out float rounding methods in tools to allow use without currency
Pending: addition of tests

bzr revid: odo@openerp.com-20111114163617-kw7u8rxcie7m2hj5
2011-11-14 17:36:17 +01:00
Olivier Dony 4140e3546a [FIX] expression: proper handling of empty string in m2o domain criterions
Also fixed incorrect name_search() implementations in
res.partner and res.currency, and added corresponding
tests.

lp bug: https://launchpad.net/bugs/861350 fixed

bzr revid: odo@openerp.com-20111011163435-szj9vm6x9x8nryn8
2011-10-11 18:34:35 +02:00
Olivier Dony a25933be83 [IMP] res.currency: better/working default values
bzr revid: odo@openerp.com-20111005002956-1tfe5u13qid3intk
2011-10-05 02:29:56 +02:00
Olivier Dony 5cc7c4002e [IMP] res.currency: name_search() implementation to match name_get()
bzr revid: odo@openerp.com-20111005002416-vz0vzfpb2uosxu4c
2011-10-05 02:24:16 +02:00
Olivier Dony 0d3085d14f [MERGE] sync with latest trunk
bzr revid: odo@openerp.com-20110922154155-jq811w768d9zfgim
2011-09-22 17:41:55 +02:00
Antony Lesuisse c1026977ab [MERGE] currency position dsh
bzr revid: al@openerp.com-20110921232150-c1rpri2650363fkd
2011-09-22 01:21:50 +02:00
Olivier Dony 705f238f08 [MERGE] missing res.currency.rate.type access rights
bzr revid: odo@openerp.com-20110919173606-1izhy7i9dt25lm45
2011-09-19 19:36:06 +02:00
Olivier Dony 8c5cb638b9 [MERGE] enforce unique `key` attribute for res.currency, ir.model, res.company
For res.company the constraint is made of 2 parts:
 - one normal unique constraint (name,company_id) to catch
   most cases and define the user error message
 - one additional unique index to enforce the unique currency
   name even for multiple entries with NULL company_id, not
   caught by the constraint. The index is named with the 
   constraint name as prefix, in order to automatically
   share the user error message

Also, cleanup up the res.currency views a bit, and improved
field labels in ir.model to make them easier to understand.

lp bug: https://launchpad.net/bugs/789019 fixed

bzr revid: odo@openerp.com-20110919144821-708avl7t9q7g8vpr
2011-09-19 16:48:21 +02:00
Stephane Wirtel 73f8c52ad2 [FIX] base: res_currency#company_id remove the default value based on the currency of the company
bzr revid: stw@openerp.com-20110915142638-gmpk24otjtrv0jtz
2011-09-15 16:26:38 +02:00
Dhara (OpenERP) b9c10b045c [IMP] currency position for report
bzr revid: dhara_openerp-20110913043809-2gq0chqs4m0yq1nq
2011-09-12 21:38:09 -07:00
Ujjvala Collins (OpenERP) 9ca534299f [REF] base: Changed description of currency rate type object.
bzr revid: uco@tinyerp.com-20110909045451-li77wxzvkg5rj8jx
2011-09-09 10:24:51 +05:30
Vo Minh Thu b8a633e578 [MERGE] merged trunk.
bzr revid: vmt@openerp.com-20110831091325-t5gfm57tmkr0fbee
2011-08-31 11:13:25 +02:00
Vo Minh Thu 1300ac804d [MERGE] res.currency: added res.currency.rate.type model.
bzr revid: vmt@openerp.com-20110830140936-pnmtt6f8jsvw32m4
2011-08-30 16:09:36 +02:00
Quentin (OpenERP) 399de9724c [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830132035-x2gs62lft5o19u6i
2011-08-30 15:20:35 +02:00
Quentin (OpenERP) 9c6fcf06d2 [IMP] base, res.currency: code cleaning
bzr revid: qdp-launchpad@openerp.com-20110830125521-1kt54s56865388ch
2011-08-30 14:55:21 +02:00
Quentin (OpenERP) 13b2db3631 [FIX] base, res.currency: ProgrammingError. When giving a context value like {'currency_rate_type_id': False}, it crashed because the value False was kept instead of None. Thanks Guewen (c2c) for the clue.
bzr revid: qdp-launchpad@openerp.com-20110830122701-yrcpo19lokkgrpcc
2011-08-30 14:27:01 +02:00
Quentin (OpenERP) 17156bd16a [IMP] base, res.currency: fixes
bzr revid: qdp-launchpad@openerp.com-20110830120727-82z1fn0msp7m5096
2011-08-30 14:07:27 +02:00
Quentin (OpenERP) 9421188847 [IMP] base/res_currency: improved res.currency.rate.type. Added search view and help tooltip. Made some code cleaning
bzr revid: qdp-launchpad@openerp.com-20110827225330-3ng37d8yg31psgsd
2011-08-28 00:53:30 +02:00
Mustufa Rangwala (OpenERP) e117018b7b [REF] Base: small improvement
bzr revid: mra@tinyerp.com-20110825170657-tgajqc4yknz9f83b
2011-08-25 22:36:57 +05:30
Ujjvala Collins (OpenERP) 5b17d2ccb7 [FIX] base: Fixed problem of browse method in _get_conversion_rate method.
bzr revid: uco@tinyerp.com-20110825115645-85ya32yjnpirbuga
2011-08-25 17:26:45 +05:30
Ujjvala Collins (OpenERP) 2ef8385544 [FIX] base: Fixed currency rate argument problem in context.
bzr revid: uco@tinyerp.com-20110824091022-0n1iwkefv2h4nh74
2011-08-24 14:40:22 +05:30
Ujjvala Collins (OpenERP) 108db379d0 [REF] base: Changed code to avoid overriding of context values.
bzr revid: uco@tinyerp.com-20110824054416-ngrtkk5oh1v9jgb3
2011-08-24 11:14:16 +05:30
Ujjvala Collins (OpenERP) bd5cb5e54a [IMP] base: Improved code to update the context.
bzr revid: uco@tinyerp.com-20110823120116-6mrgalyg77jthxnt
2011-08-23 17:31:16 +05:30
Ujjvala Collins (OpenERP) 416b2693ac [IMP] base: Improved arguments in compute method to avoid error of No rate found.
bzr revid: uco@tinyerp.com-20110819110719-r82nsaui8a2kk58i
2011-08-19 16:37:19 +05:30
Vo Minh Thu fa41b78f64 [FIX] res_currency: changed super(osv,self) to super(res_currency,self).
bzr revid: vmt@openerp.com-20110816103531-8f6cj11jsgacfsdk
2011-08-16 12:35:31 +02:00
Nimesh (Open ERP) a5a07e4993 Add missing unique keys
lp bug: https://launchpad.net/bugs/789019 fixed

bzr revid: nco@tinyerp.com-20110726132137-h8go2l62xkn8pdme
2011-07-26 18:51:37 +05:30
Mustufa Rangwala 33947346e4 [IMP] Base: Currency improve code
bzr revid: mra@mra-laptop-20110715055541-il3hhp42b9jiojo4
2011-07-15 11:25:41 +05:30
Antony Lesuisse 3c985b0201 [FIX] remove incorrect res_currency name_get
bzr revid: al@openerp.com-20110713153712-j2v1nlm9q5e2319d
2011-07-13 17:37:12 +02:00
Ujjvala Collins (OpenERP) a6b7507ae5 [IMP] base: Improved _currency_rate function.
bzr revid: uco@tinyerp.com-20110713053503-rejienqc30ocr78g
2011-07-13 11:05:03 +05:30
Ujjvala Collins (OpenERP) b9cc3d22b6 [IMP] base: Improved currency rate function to avoid sql query.
bzr revid: uco@tinyerp.com-20110712124253-vy1g8lq40jsdmyi8
2011-07-12 18:12:53 +05:30
Ujjvala Collins (OpenERP) 5c7075cac6 [IMP] base: Added a condition to check currency rate type.
bzr revid: uco@tinyerp.com-20110712113601-slvo0c3590a7dkxf
2011-07-12 17:06:01 +05:30
Mustufa Rangwala 72db8f87cb [IMP] Base: add argument on compute method
bzr revid: mra@mra-laptop-20110714104517-11w0ptxmob5s481n
2011-07-14 16:15:17 +05:30
Mustufa Rangwala 2f4330bbb3 [ADD] Base: add res.currency.rate.type object and its m2o on res.currency.rate
bzr revid: mra@mra-laptop-20110714092737-9jlk0xjc3hkb4rog
2011-07-14 14:57:37 +05:30
Vo Minh Thu 6c7f791f5d [IMP] tidying up before merging in trunk.
bzr revid: vmt@openerp.com-20110706154001-r8y7w28yve2ca0ar
2011-07-06 17:40:01 +02:00
Quentin (OpenERP) d1cf666594 [MERGE] small code imp
bzr revid: qdp-launchpad@openerp.com-20110704113758-qzmb26v09q5gmdlx
2011-07-04 13:37:58 +02:00
Rucha (Open ERP) d29461fa9a [REF]: res.currency: Improvements in checking by len(), passed context properly
bzr revid: rpa@tinyerp.com-20110704112206-1yvd6w8s43mqd7fw
2011-07-04 16:52:06 +05:30
Quentin (OpenERP) 025fb306f1 [MERGE] merge with main trunk
bzr revid: qdp-launchpad@openerp.com-20110630131818-nodhau21de4t1n39
2011-06-30 15:18:18 +02:00
Quentin (OpenERP) 0549da30c6 [FIX] added missing statement for importing tools
bzr revid: qdp-launchpad@openerp.com-20110628141853-ti7c6dspjgbv4crn
2011-06-28 16:18:53 +02:00
Rucha (Open ERP) 272b8a8c24 [ADD]: base: Moved name_get of res_currency from base_setup/installer.py
bzr revid: rpa@tinyerp.com-20110628095615-hohw60v4qyvqmvtc
2011-06-28 15:26:15 +05:30
Vo Minh Thu aa554efa57 [REF] ir.ir_{set,get,del}: removed openerp.ir:
- the three functions provided in openerp.ir are simple wrappers around ir_values
- it is easier to directly use ir_values than to keep this module around.

bzr revid: vmt@openerp.com-20110519122752-s3wwq4pwl8wlbori
2011-05-19 14:27:52 +02:00
AMP (OpenERP) 8cd3b96019 [FIX] Usability : Usability Improvement
bzr revid: amp@tinyerp.com-20110419131154-1ucsrn7wtpq83apg
2011-04-19 18:41:54 +05:30
Olivier Dony 2621b707e0 [MERGE] merged latest fixes from 6.0 branch up to rev 3348
Rev 3348 is odo@openerp.com-20110221101549-vp0ha2g91yl30cmk.

bzr revid: odo@openerp.com-20110221103235-6tdy5tpb6zvkbzs3
2011-02-21 11:32:35 +01:00
Vo Minh Thu f8572e5c60 [IMP] openerp python module.
- Some logging code moved from netsvc.py to loglevels.py
- Changed imports to use the new openerp module
- config and netsvc initialization calls move to openerp-server.py
- Moved openerp-server.py outside the old bin directory
- Some imports in tools moved inside the methods to break mutual-dependencies

bzr revid: vmt@openerp.com-20110207125723-ooee7d7ng5elmkso
2011-02-07 13:57:23 +01:00