Cédric Krier
6b7dfcd1f5
Fix flake8 errors and warnings
...
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
2020-03-01 12:33:54 +01:00
Sergi Almacellas Abellana
d6fc860ed4
Do not use a list of columns on select query
...
python-sql expects the columns as arguments of the select function
issue8968
review250491002
2020-01-07 10:15:52 +01:00
Cédric Krier
e1b80cc05c
Use multiselection for days
...
issue8894
review264881004
2019-12-18 21:41:21 +01:00
Cédric Krier
bc218140de
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
30df0a4bad
Remove support for Python 2.7
...
issue7497
review53261002
2018-06-26 19:11:58 +02:00
Cédric Krier
20648d193b
Ensure rec_name is a char, text type
...
Model.default_get with 'default_rec_name' context relies on the fact that
rec_name is a string base field.
issue6630
review36501002
2017-07-26 23:43:28 +02:00
Jonathan Levy
e76f98b3c5
Add Python3 support
...
issue3211
review20841002
2016-03-08 12:14:57 +01:00
Cédric Krier
9d18d87062
Don't compute supply date for max date
...
When date is max, there is no point to compute a weekday and adding anything to
max will raise OverflowError. Such case should just return max date.
issue5109
review18871002
2016-01-21 10:33:12 +01:00
Cédric Krier
6477580c6f
Fix most flake8 errors
...
review8771002
2014-12-02 12:56:16 +01:00
Cédric Krier
90588e26f1
Fix compute supply date when no day is defined
...
review533002
2012-09-25 20:35:14 +02:00
Cédric Krier
7a4a874b37
Active Record
2012-09-24 22:18:25 +02:00
Cédric Krier
002b9d4e8f
Fix pep8 and pyflakes
2012-04-03 20:07:52 +02:00
Nathanael Perat
17e10c896f
Method compute_supply_date returns 1 date
...
issue 2300
review 183002
2011-11-29 18:14:46 +01:00
Nathanael Perat
02f804d17c
Fix compute_purchase_date for stock_supply_day
...
issue 1977
review 183001
2011-11-29 17:13:53 +01:00
Cédric Krier
a2b6008a26
Fix default weekday for issue1975
2011-04-20 11:00:51 +02:00
Phillip Heller
10415b8eb0
Update for new Transaction
2010-08-10 11:58:45 -04:00
Korbinian Preisler
dd678db1a2
CASCADE product_supplier.day when product_supplier is deleted
2010-04-28 12:07:22 +02:00
Cédric Krier
baecfabad2
Add missing _description
2009-03-17 14:06:46 +01:00
Cédric Krier
e81ed822e5
Allow to define more than one weekday on product_supplier
2009-03-09 17:38:12 +01:00
Cédric Krier
77296c76f4
Remove OSV and WizardOSV
2009-02-28 17:06:47 +01:00
Cédric Krier
cb6b59819f
Initial commit of stock_supply_day module
2008-10-01 13:13:56 +02:00