Cédric Krier
dd234aba6f
Fix migration to use ir.calendar
...
issue7815
issue7962
2019-01-03 12:00:31 +01:00
Cédric Krier
6b707d747b
Add ir.calendar for month and day
...
This allows to replace time_locale and use the translation infrastructure
instead. So it can be customized using the translation override or derivative
languages.
This provides also a standard base to modules that needs calendar month and
day.
issue7815
review56451002
2019-01-01 15:47:23 +01:00
Cédric Krier
bd7a6163f4
Add ir.message and use custom exceptions
...
issue3672
2018-12-29 14:20:28 +01:00
Cédric Krier
8900f729a9
Remove migration before 3.0
...
issue6470
review52421002
2018-08-09 20:43:51 +02:00
Cédric Krier
d9b40ac0d9
Add __table_handler__ to ModelSQL
...
issue7581
review48531002
2018-07-24 22:01:07 +02:00
Sergi Almacellas Abellana
bb4f96b159
Use deactivable mixin
...
issue4341
review38401002
2018-03-26 14:09:12 +02:00
Cédric Krier
0030150c57
Always raise exception in table handler
...
issue7175
review40161002
2018-03-15 00:44:58 +01:00
Sergi Almacellas Abellana
d61ce251d6
Add default value for payment term line relativedelta's
...
issue6258
review29211002
2017-02-17 10:03:54 +01:00
Sergi Almacellas Abellana
ac38deecaa
Use sequence_ordered
...
issue5105
2016-09-13 14:03:55 +02:00
Sergi Almacellas Abellana
9c559494e8
Copy original amount sign when computing fixed payment terms
...
issue5758
review26491002
2016-08-05 12:29:44 +02:00
Udo Spallek
7797179881
Rename long model name for payment term delta
...
issue5445
review16161002
2016-06-03 21:31:58 +02:00
Sergi Almacellas Abellana
1e54ef271c
Ensure payment term always returns a value
...
issue4286
review26281002
2016-05-25 12:59:48 +02:00
Nicolas Évrard
4e64cedb9e
Follow PEP-0249 for Transaction and backends
...
issue4949
review19781002
2016-03-03 21:53:42 +01:00
Cédric Krier
c3b6648204
Change payment term percentage into ratio
...
issue5286
review15951002
2016-02-03 21:26:47 +01:00
Cédric Krier
5af5a4c834
Remove boolean expression in order
...
issue4852
review15541002
2015-07-13 23:57:43 +02:00
Cédric Krier
ff0a261389
Allow to define many relativedelta on payment term
...
Replace the set of fields defined on payment term line by a list of
relativedelta containing the same set of fields.
issue4573
review6911002
2015-03-02 23:28:12 +01:00
Cédric Krier
77011c9b6b
Add test wizard for payment term
...
issue4572
review11931002
2015-03-02 23:21:06 +01:00
Cédric Krier
a316785bd0
Fix most flake8 errors
...
review8771002
2014-12-02 12:54:39 +01:00
Robin Baumgartner
f4825c3e0b
Use Null constant from python-sql for comparisons
...
issue4143
review13701003
2014-11-24 13:59:09 +01:00
Cédric Krier
8d96a06bf3
New API for on_change
...
issue4203
review8581002
2014-10-29 20:39:13 +01:00
Cédric Krier
0952177d2f
Use Name string for name field on PaymentTerm
...
issue3820
2014-04-29 19:15:05 +02:00
Cédric Krier
1283b931fb
Use fields.depends decorator
...
issue3487
review2301002
2014-01-26 14:28:52 +01:00
Cédric Krier
5bcfa55544
Migration to python-sql
...
review1001002
2013-09-06 22:33:52 +02:00
Sergi Almacellas Abellana
1c728694b4
Validate payment term when the user creates it.
...
Validate that the payment term has at least a line and ensure that the last
line's type is remainder.
issue3205
review854002
2013-06-01 12:49:14 +02:00
Udo Spallek
e5d5350b89
Signature of raise_user_error is tuple.
...
issue3078
review734002
2013-03-25 10:38:48 +00:00
Udo Spallek
2acb60d276
Missing Active Record migration in PaymentTerm.compute.
...
issue3076
review732002
2013-03-25 10:09:58 +00:00
Albert Cervera i Areny
598767d6d1
Replace _constraints with validate in ModelStorage and improve user messages.
...
issue2616
review371002
2013-03-07 16:54:03 +01:00
Cédric Krier
6fadca7bdd
Fix flake8
2013-02-16 22:06:26 +01:00
Cédric Krier
83d9c368f7
Active Record
2012-09-24 22:17:32 +02:00
Cédric Krier
cef1024645
Remove required on sequence
...
review348001
2012-05-14 15:36:16 +02:00
Cédric Krier
deebd97ee6
Fix pep8 and pyflakes
2012-04-03 20:06:19 +02:00
Cédric Krier
14eb2771b7
Fix pep8 and pyflakes
2012-04-01 18:22:06 +02:00
Albert Cervera i Areny
f720f3b5ea
Payment Term refactoring to make it work like dateutil's relativedelta.
...
review195001
issue2320
2012-04-01 16:08:13 +02:00
Cédric Krier
2b3c0406b6
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:43:07 +02:00
Nicolas Évrard
d30e78697a
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
7d54aff960
correct pyflake errors
...
review162007
2011-11-02 15:51:22 +01:00
Cédric Krier
101d005da2
Make PYSON more Pythonic
2011-08-21 11:20:30 +02:00
Cédric Krier
7d8ed09778
Add test for depends
2011-08-04 16:57:16 +02:00
Cédric Krier
494a91673a
Change Pool into a Singleton
2011-07-03 13:18:43 +02:00
Cédric Krier
8f2821375a
Update for new Transaction
2010-08-19 22:02:49 +02:00
Cédric Krier
e0013e5c7d
Remove ids from on_change* calls
2010-03-18 18:21:00 +01:00
Cédric Krier
2f7395cd38
New interface for Function/Property fields
2010-03-11 16:45:42 +01:00
Cédric Krier
aaba43f53f
Use PySON
2010-01-20 10:57:08 +01:00
Cédric Krier
2b1980c865
Remove egenix-mx-base and replace it by python-dateutil
2009-12-17 11:40:58 +01:00
Cédric Krier
4f0fbdc795
Fix spell
2009-03-20 13:02:41 +01:00
Cédric Krier
ea548a97ad
Use the new TableHandler interface
2009-03-17 22:39:26 +01:00
Cédric Krier
26aac3b9cd
Remove OSV and WizardOSV
2009-02-28 16:57:26 +01:00
Cédric Krier
f49ede1566
Use new TableHandler
2009-02-04 13:30:48 +01:00
Cédric Krier
8b6fc02c47
Fix for new modeldb
2009-02-02 13:09:29 +01:00
Cédric Krier
597127d7e1
Fix missing import for issue724
2009-01-04 14:37:44 +01:00