Thibault Delavallée
1d5068b63e
[FORWARD] Forward port of server 7.0 until revision 4988
...
bzr revid: tde@openerp.com-20130528102733-bsszxp6nvy8yws3t
2013-05-28 12:27:33 +02:00
cbi@openerp.my.openerp.com
3d9c8b0513
[FIX] missing multi company currency access rules, set currency.company_id to False by default
...
lp bug: https://launchpad.net/bugs/1111298 fixed
bzr revid: alexandre.fayolle@camptocamp.com-20130517080246-k23d8hd0ks36cr5l
2013-05-17 10:02:46 +02:00
Quentin (OpenERP)
4d519be0b4
[IMP] base, res_currency: added an indirection on _current_rate() function to allow a clean overwriting
...
bzr revid: qdp-launchpad@openerp.com-20130507120149-p2m4ug20nfny234v
2013-05-07 14:01:49 +02:00
Quentin (OpenERP)
64502253b8
[FIX] base, res_currency: raise an error if a currency doesn't have any rate associated to the given period (if any)
...
bzr revid: qdp-launchpad@openerp.com-20130314153800-wl48wkp5f3zz0pb6
2013-03-14 16:38:00 +01:00
Cedric Snauwaert
b5129816dc
[FIX]res_currency: change value from 0 to 1 when no rate is associated to a given period of time
...
in order to prevent division by zero error
bzr revid: csn@openerp.com-20130313154342-g1d1jj3g061evf56
2013-03-13 16:43:42 +01:00
Cecile Tonglet
ad8b76de53
[MERGE] From trunk (second time)
...
bzr revid: cto@openerp.com-20121217144753-1rboqdw01h8yrehj
2012-12-17 15:47:53 +01:00
Cecile Tonglet
5f0070dcb6
[FIX] Remove unused imports and fix some imports that doesn't use the new namespace
...
bzr revid: cto@openerp.com-20121217143029-e9ki4ftwihq7pdme
2012-12-17 15:30:29 +01:00
Xavier Morel
c6079dd6bb
[REM] unnecessary parens
...
bzr revid: xmo@openerp.com-20121214123803-6xu2s1ndnoyj4i3e
2012-12-14 13:38:03 +01:00
Vo Minh Thu
509a084e79
[IMP] use the openerp namespace.
...
bzr revid: vmt@openerp.com-20121210152723-mv4dykfu6ip1991h
2012-12-10 16:27:23 +01:00
Fabien Pinckaers
2a7a50dd3f
[IMP] useability currencies name_get only return name
...
bzr revid: fp@tinyerp.com-20121124175433-0fro2ufrs3b9feev
2012-11-24 18:54:33 +01:00
Xavier Morel
5bd939f0ac
[REM] useless intermediate lambdas in default values
...
bzr revid: xmo@openerp.com-20121102094705-6vcutz0bv4dc0jkl
2012-11-02 10:47:05 +01:00
pso (OpenERP)
ecb67b4b81
[MERGE] Merged with main branch
...
bzr revid: pso@tinyerp.com-20120830084954-jneto8bxd6hjf8e6
2012-08-30 14:19:54 +05:30
Jignesh Rathod (Open ERP)
18ffbff5f1
[FIX] read of a single id in int in res.currency
...
lp bug: https://launchpad.net/bugs/965148 fixed
bzr revid: jir@tinyerp.com-20120822095433-55l2n56fplfiglwv
2012-08-22 15:24:33 +05:30
Hardik
af91896fbd
[IMP]view improved for country form and change label name of currency field
...
bzr revid: hsa@tinyerp.com-20120723113240-mopd8ufl80705o6m
2012-07-23 17:02:40 +05:30
Divyesh Makwana (Open ERP)
9fbdc7c526
[IMP] Improved the typos.
...
bzr revid: mdi@tinyerp.com-20120423102313-0mboqhctzoje5ize
2012-04-23 15:53:13 +05:30
Antony Lesuisse
d8ed922e26
[FIX] res_currency remove warning about float field
...
bzr revid: al@openerp.com-20120208224031-korqq1crt0u3wpuh
2012-02-08 23:40:31 +01:00
Olivier Dony
bdce754108
[IMP] cleanup deprecated method=True param for function fields
...
bzr revid: odo@openerp.com-20120104133027-oaydmngk2dfc22mk
2012-01-04 14:30:27 +01:00
Olivier Dony
9ddd05fb3a
[REF] float_utils: moved in its own python module
...
bzr revid: odo@openerp.com-20111216160426-gya8d1d1zymcz8os
2011-12-16 17:04:26 +01:00
Olivier Dony
ffe640cece
[IMP] tools.float_*: added tests and docstrings
...
bzr revid: odo@openerp.com-20111114182310-kkzh78uej0uuwhaz
2011-11-14 19:23:10 +01:00
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