Commit Graph
46 Commits
Author SHA1 Message Date
Cédric Krier 3dca76377f Fix domain concatenation between list and tuple 2013-08-08 01:45:17 +02:00
Cédric Krier 4ffe539984 get_rate must always return a Decimal or int as value
issue3311
review987002
2013-07-29 10:31:28 +02:00
Udo Spallek 9a9b98ea1f Add missing Active Record migration.
issue3085
review738002
2013-03-25 21:11:12 +00:00
Albert Cervera i Areny b6245751bb Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:54:52 +01:00
Cédric Krier 6670fc2c2a Fix flake8 2013-02-23 22:05:47 +01:00
Cédric Krier add391d7d3 Remove ids reference in docstring of Currency.compute 2013-01-16 21:20:58 +01:00
Cédric Krier 3f285bfc5d Active Record 2012-09-24 22:17:53 +02:00
Cédric Krier bc57ddd21b Fix pep8 and pyflakes 2012-04-03 20:07:00 +02:00
Nicolas Évrard 97260b4ef0 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:55 +01:00
Mathias Behrle aad1fbade9 Change select=1|2 to select=True
issue2305
review269003
2012-03-05 10:53:02 +01:00
Cédric Krier d3f91620c6 Add default database language code
review199002
2012-01-27 21:14:19 +01:00
Nicolas Évrard a0ea1a2561 fix pyflake errors
review163009
2011-11-02 16:09:39 +01:00
Cédric Krier 3753f1444f Change Pool into a Singleton 2011-07-03 13:18:55 +02:00
Cédric Krier eaca3deaba Better docstring explaination for context date usage in compute for issue1745 2011-03-06 04:36:50 +01:00
Phillip Heller 0f1caf4933 Update for new Transaction 2010-08-10 11:58:58 -04:00
Cédric Krier d16388a664 Catch only Exception according to PEP 352 2010-07-08 19:56:00 +02:00
Cédric Krier 7a3ad42c2d searcher on Function fields take only one domain clause as argument 2010-03-23 11:24:42 +01:00
Cédric Krier 363b3c1d5e Remove ids from on_change* calls 2010-03-18 18:19:13 +01:00
Cédric Krier 4d4470ba39 New interface for Function/Property fields 2010-03-11 16:47:49 +01:00
Cédric Krier 2d876c578f Use pycountry to generate currency datas and add ISO4217 numeric code to
currency
2010-02-25 17:53:28 +01:00
Cédric Krier b84517b8c1 Use datetime_strftime 2009-12-17 11:42:42 +01:00
Cédric Krier 1a64e4aef0 Add rounding option to currency round for issue1147 2009-09-29 12:08:51 +02:00
Cédric Krier 76a26fa815 Use safe_eval 2009-09-28 11:23:07 +02:00
Bertrand Chenal 0ff5b3a773 Fix _rpc usage 2009-09-03 12:19:11 +02:00
Bertrand Chenal a441c2aa65 Added ondelete cascade between currency and rate 2009-09-03 10:20:30 +02:00
Bertrand Chenal 44b8904431 Allow rpc of compute() 2009-09-02 18:11:34 +02:00
Bertrand Chenal 57b350cd59 Typo 2009-06-26 17:40:21 +02:00
Cédric Krier f0be82882c Add on_change_with_rate on currency for issue1012
Set type to numeric for rate
2009-06-22 14:44:44 +02:00
Cédric Krier 7d18ab4978 Allow to change xml currency 2009-04-02 20:00:11 +02:00
Cédric Krier a1e6b55ba1 Remove OSV and WizardOSV 2009-02-28 16:59:47 +01:00
Cédric Krier c4f77be938 Replace name_get, name_search with get_rec_name and search_rec_name 2009-02-17 11:45:36 +01:00
Cédric Krier dafc4ef38b Fix field label 2009-01-22 12:16:15 +01:00
Cédric Krier 8ab015c94f Return Decimal value for default rounding for issue524 2008-11-11 22:37:05 +01:00
Cédric Krier a7186523a5 Convert unicode into str for strftime 2008-11-04 18:09:55 +01:00
Cédric Krier b2c456b143 Use ir.date and format date in error message 2008-10-24 00:34:00 +02:00
Cédric Krier 83b8987cbe Use ir.date 2008-10-08 12:18:56 +02:00
Cédric Krier 60e2a3d421 Improve format fields naming for issue390 2008-09-22 20:42:00 +02:00
Cédric Krier 4f6edd2f20 Make rounding on currency required to prevent zero division 2008-09-22 13:30:07 +02:00
Cédric Krier fca3ef45a1 Add formatting fields 2008-08-27 17:35:00 +02:00
Cédric Krier 44e1c21af4 Allow to modify xml rate 2008-08-25 11:52:20 +02:00
Cédric Krier 89c4d8b5de Use new raise_user_error function 2008-07-17 19:36:42 +02:00
Bertrand Chenal e67dc74a85 Don't try ot find rate when converting amount to the same currency 2008-07-10 11:25:52 +02:00
Cédric Krier 61d8c3f919 Fix COPYRIGHT 2008-06-23 20:52:55 +02:00
Cédric Krier 15dedad770 Add currency symbol 2008-06-18 17:15:27 +02:00
Bertrand Chenal 377b8bd3fc Initialize context when it is none. 2008-06-14 01:30:18 +02:00
Cédric Krier a3e72843f0 Initial commit for module currency 2008-05-09 17:26:14 +02:00