Cédric Krier
|
b2ee1756ef
|
Add ceil and floor as uom rounding methods
issue6222
review27041002
|
2017-02-02 12:11:10 +01:00 |
|
Nicolas Évrard
|
ea0c0ee96c
|
Follow PEP-0249 for Transaction and backends
issue4949
review19781002
|
2016-03-03 21:54:58 +01:00 |
|
Karla Stenger
|
8b7f208e9c
|
Change Uom.round into an instance method.
issue4423
review19651002
|
2016-01-11 10:28:00 -03:00 |
|
Karla Stenger
|
6fe65f9fe2
|
Remove trailing space in change_uom_rate_title
issue5081
review21531002
|
2015-11-15 17:37:31 -03:00 |
|
David Harper
|
7d6adc34e5
|
Improve behaviour of Uom.compute_xxx methods
issue4647
review9161002
|
2015-07-29 17:48:28 +02:00 |
|
Cédric Krier
|
e04c6e3157
|
Use Constraint instance in ModelSQL._sql_constraints
issue4814
review15491002
|
2015-06-22 16:59:33 +02:00 |
|
Cédric Krier
|
b632887743
|
Fix rounding issue in Uom.round
issue4816
review12191002
|
2015-06-17 08:28:58 +02:00 |
|
Cédric Krier
|
f9ce267ea9
|
Fix search_rec_name for negative operator
In case of negative operator, each subclause must be composed with 'AND'.
issue4559
review14191002
|
2015-04-05 23:36:13 +02:00 |
|
Sergi Almacellas Abellana
|
0b2645c386
|
Ensure that uom rounding is always greather than zero
issue4502
review8981002
|
2015-02-24 18:19:58 +01:00 |
|
Cédric Krier
|
0b22d25fd9
|
Fix most flake8 errors
review8771002
|
2014-12-02 12:55:30 +01:00 |
|
Cédric Krier
|
2d75f02868
|
New API for on_change
issue4203
review8581002
|
2014-10-29 20:39:55 +01:00 |
|
Nicolas Évrard
|
df5de2f0f0
|
Remove print statement introduced by changeset 4c22fc0abb7f
|
2014-07-28 18:26:39 +02:00 |
|
Cédric Krier
|
1bca12de35
|
Remove UOM from category string
review9381002
|
2014-05-27 22:31:27 +02:00 |
|
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 |
|