Cédric Krier
99055f591b
Simplify cron
...
issue8201
issue6117
issue2286
2019-04-12 15:59:24 +02:00
Cédric Krier
f096726b28
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:46 +02:00
Cédric Krier
d71af29147
Replace _callback override by run_once for Cron
...
The issue5186 replaced the _callback methods by the dualmethod run_once.
The company module needs to override it to still run tasks under each defined
companies.
issue5583
review20211002
2016-06-03 00:00:01 +02:00
Cédric Krier
90180fe2ff
Add Python3 support
...
issue3211
2016-02-20 10:50:02 +01:00
Cédric Krier
be3c179a72
Fix most flake8 errors
...
review8771002
2014-12-02 12:55:12 +01:00
Cédric Krier
3dca89a7c5
Active Record
2012-09-24 22:17:50 +02:00
Nicolas Évrard
6596def033
Use context manager to correctly set the company
...
review372001
2012-09-21 15:20:25 +02:00
Cédric Krier
cc39aadc3b
Replace wrong usage of False by None
...
issue2512
2012-03-27 10:43:32 +02:00
Mathias Behrle
d5673368ad
Change select=1|2 to select=True
...
issue2305
review269003
2012-03-05 10:53:01 +01:00
Nicolas Évrard
50ab00c864
fix pyflake errors
...
review168001
2011-11-02 16:09:02 +01:00
Cédric Krier
7dfbba3931
Change Pool into a Singleton
2011-07-03 13:18:53 +02:00
Cédric Krier
3d11627f54
Fix for new cron design
...
codereview39002
2011-06-14 11:31:31 +02:00
Phillip Heller
e17ab38e90
Update for new Transaction
2010-08-10 11:58:47 -04:00
Cédric Krier
96b7acf6d8
Use Model for Many2Many
2009-03-05 14:52:48 +01:00
Cédric Krier
3b5b9b6a82
Remove OSV and WizardOSV
2009-02-28 16:59:20 +01:00
Cédric Krier
b98ac6dc8f
Fix sql query
2008-11-06 14:55:54 +01:00
Bertrand Chenal
6aa8ee07f1
Adapt to new cron callback api
2008-10-22 15:49:48 +02:00
Bertrand Chenal
de52f5b3c0
A cron run on all companies by default
2008-09-30 00:01:39 +02:00
Bertrand Chenal
e65d156693
Improvement when looping on companies for cron:
...
* update both company and main_company feilds
* reset those fields at the end.
2008-09-18 17:07:35 +02:00
Bertrand Chenal
f1770593dc
Handle multi-companies for cron jobs
2008-09-18 16:20:13 +02:00