Commit Graph
55 Commits
Author SHA1 Message Date
Cédric Krier c5e7041278 Fix domain concatenation between list and tuple
(transplanted from 65f66a0e4f28f7d36e696387f999eb97ee6a3723)
2013-08-08 02:33:53 +02:00
Cédric Krier 73e5c53949 Active Record 2012-09-24 22:18:00 +02:00
Cédric Krier bbe639d663 Fix pep8 and pyflakes 2012-04-03 20:07:18 +02:00
Cédric Krier 775423b5dd Replace wrong usage of False by None
issue2512
2012-03-27 10:43:45 +02:00
Cédric Krier 3f9ddfa095 Remove special uom search clause
review294001
2012-03-25 15:38:44 +02:00
Cédric Krier cc9265d9cb default_active must return a boolean 2012-03-24 09:28:27 +01:00
Nicolas Évrard 997929fed0 Integer, Numeric and Float allow None as value
NULL value is None and not False

issue2022
review237004
2012-03-23 18:38:50 +01:00
Nicolas Évrard 2af61df6ea fix pyflake errors
review165007
2011-11-02 16:10:39 +01:00
Nicolas Évrard 37bf0861fb remove trailing spaces 2011-10-28 10:57:31 +02:00
Cédric Krier dfd989b6f0 Make PYSON more Pythonic 2011-08-21 11:20:46 +02:00
Cédric Krier 1595175929 Add test for depends 2011-08-04 16:57:33 +02:00
Cédric Krier 33d15e0595 Change Pool into a Singleton 2011-07-03 13:19:02 +02:00
Phillip Heller 841306b91c Rename uom_once to uom_ounce, fixes issue1414 2010-09-25 11:39:17 -04:00
Sharoon Thomas e30a846a6b Update for new Transaction 2010-08-15 00:23:46 +01:00
Cédric Krier 5c2908002a searcher on Function fields take only one domain clause as argument 2010-03-23 11:23:59 +01:00
Cédric Krier 470f8e0a87 Remove ids from on_change* calls 2010-03-18 18:18:03 +01:00
Cédric Krier a8741a28d7 Typo 2010-03-11 15:31:06 +01:00
Cédric Krier 64624aa8f2 Improve computation precision of UOM convertion 2010-03-11 15:29:21 +01:00
Cédric Krier c9b2f6f9e7 Use PySON 2010-01-20 11:01:14 +01:00
Cédric Krier 5f4f3a3f09 Add missing context to raise_user_error for issue1327 2009-12-09 21:59:22 +01:00
Cédric Krier 4de11f14ba Make search_rec_name search also on symbol for issue934 2009-05-19 18:32:01 +02:00
Bertrand Chenal ee8de95eff Remove rounding for checking rate and factor 2009-04-07 15:27:19 +02:00
Bertrand Chenal fb997ca561 Round rate and factor before comparing them 2009-04-06 18:15:31 +02:00
Bertrand Chenal 8a86fbf816 Fix: allow to call write with one id 2009-04-06 16:44:55 +02:00
Bertrand Chenal ea36031dfc Guidelines 2009-04-06 13:03:51 +02:00
Bertrand Chenal a9e020760b Forbid to change the rate, factor and category of an existing uom 2009-04-06 12:39:07 +02:00
Cédric Krier 30da4b6f1f Set ondelete RESTRICT for category on uom 2009-03-25 12:55:24 +01:00
Cédric Krier 0077a5404a Remove OSV and WizardOSV 2009-02-28 17:00:24 +01:00
Cédric Krier d0d0b8747e Replace name_get, name_search with get_rec_name and search_rec_name
Return only id for default value of many2one
2009-02-17 11:46:14 +01:00
Cédric Krier 9cef7c30fc Fix for new modelstorage 2009-02-02 13:11:13 +01:00
Cédric Krier 5b5fa2e92d Handle default_category from context value 2008-11-13 15:18:40 +01:00
Cédric Krier a2dc2edbc0 Add options on compute_qty to round or not 2008-11-03 15:39:40 +01:00
Cédric Krier ac6e854ad5 Fix typo 2008-10-29 18:27:08 +01:00
Cédric Krier 89edcc283b Fix search for xmlrpc
Add keywords uom.category for search clause
2008-09-30 17:10:36 +02:00
Cédric Krier 043bc4a940 Add translate on name of categories for issue367 2008-09-17 12:32:45 +02:00
Cédric Krier e3904957c4 Add special domain with keyword product.default_uom.category to search for uom
category with a product id
2008-09-16 16:39:26 +02:00
Cédric Krier ac4b2b5e7d Add digits on uom for the display 2008-08-26 19:06:12 +02:00
Cédric Krier f2294415d9 Allow to modify xml uom 2008-08-26 18:18:38 +02:00
Cédric Krier bf0ae58e91 Add translate on name and symbol of uom 2008-07-16 18:08:48 +02:00
Bertrand Chenal 1e873d1547 Added context to compute_qty and compte_price call on uom object 2008-07-09 15:57:51 +02:00
Cédric Krier d5f5624c26 Fix COPYRIGHT 2008-06-23 20:55:06 +02:00
Bertrand Chenal d22a7e2879 Guidelines 2008-06-11 20:18:04 +02:00
Bertrand Chenal dd3310af04 Removed constraint 2008-05-28 13:42:11 +02:00
Cédric Krier 6864894139 Fix compute price to return Decimal 2008-05-13 13:08:29 +02:00
Cédric Krier 057e0dd6c7 Change _order for new dict implementation 2008-04-22 17:49:25 +02:00
Cédric Krier 2e46126957 Fix guidelines and make compute_{qty,price} public 2008-04-09 13:22:24 +02:00
Cédric Krier 29392d9397 Add one2many on uom category to uom 2008-04-08 17:25:39 +02:00
Bertrand Chenal e66c4bf075 Handle rate/factor more carefully 2008-03-14 14:08:26 +01:00
Bertrand Chenal 1c3eb8968b - Added Symbol field on uom object.
- Added tooltips on factor and rate fields.
- Improved on_change function (use 1.0 instead of 0.0 when fields factor and rate must be filled).
- Fix the factor and rate check function (rounding, interger division and completeness).
- Fix default values of context on create and write functions.
- Fix arg name on compyte_qty.
- Fix helper functions _compute_qty and compute_price.
2008-03-13 01:22:57 +01:00
Bertrand Chenal 65a3b06987 Overload create and write instead of a function field.
This also fix a zero division problem.
2008-03-11 21:38:51 +01:00