Commit Graph
63 Commits
Author SHA1 Message Date
Jordi Esteve cfe6283bf5 Use OR clause in search_rec_name of UoM
issue3705
review3741002
2014-02-24 20:21:33 +01:00
Cédric Krier bd953e7316 Use fields.depends decorator
issue3487
review2301002
2014-01-26 14:29:18 +01:00
Cédric Krier 57085a04f6 Use a sequence of records, values in write
issue3499
review1641003
2013-12-19 14:45:07 +01:00
Nicolas Évrard ad55a084c2 Fix usage of return in validation method
review1126002
2013-10-15 15:09:04 +02:00
Cédric Krier f176fea97c Fix flake8 2013-10-05 12:17:07 +02:00
Cédric Krier 59ecc988a8 Migration to python-sql
review1001002
2013-09-06 22:34:24 +02:00
Cédric Krier deafd5f252 Fix domain concatenation between list and tuple 2013-08-08 02:33:53 +02:00
Albert Cervera i Areny ecbd21155b Replace _constraints with validate in ModelStorage and improve user messages.
issue2616
review371002
2013-03-07 16:55:11 +01:00
Cédric Krier 99450860fe Fix flake8 2013-02-24 14:18:51 +01: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