Commit Graph
22 Commits
Author SHA1 Message Date
Cédric Krier 63c26bbeea Replace test setuptools command by unittest discover
issue9215
review389851002
2022-04-16 18:30:20 +02:00
Cédric Krier a0bfbfa255 Follow isort formatting
issue10928
2021-12-11 17:58:45 +01:00
Maxime Richez db5cf4f3a8 Add methods to format number and symbol on Lang
and add format number with symbol on Report

issue10730
review371831002
2021-10-04 18:52:01 +02:00
Cédric Krier 92d98b36ff Translate LazyString of ir.model and ir.model.field
issue10326
review321041002
2021-04-25 18:19:29 +02:00
Cédric Krier 42cb4a0f53 Set name clause on join condition instead of subquery
The name is a column from a table that is not available in the subquery.

issue10257
review346001004
2021-04-24 19:27:07 +02:00
Cédric Krier 3aec470d5b Store directly sequence type to sequence
issue10122
review351381002
2021-03-11 23:00:10 +01:00
Cédric Krier e6dda69e06 Allow sending email with record's attachments
issue10135
review345471002
2021-03-11 19:14:07 +01:00
Cédric Krier b8e2124a45 Add optional PYSON recipients to email template
issue9617
review306401002
2020-10-11 13:32:18 +02:00
Sergi Almacellas Abellana 97194bc10b Add format_datetime to Report
issue7202
review45521002
2020-10-04 23:04:01 +02:00
Cédric Krier 05b53fa6c9 Allow overriding digits in Lang.currency and Report.format_currency
issue9588
review292221002
2020-09-24 22:49:09 +02:00
Cédric Krier ce88a10900 Update tests for new report name scheme
issue9509
2020-09-24 18:28:45 +02:00
Cédric Krier 82e64bf66a Send client email via server
issue9449
review292001002
2020-09-17 17:18:02 +02:00
Cédric Krier ab4bcc470c Test Lang.format
issue9585
review306331002
2020-09-16 23:26:09 +02:00
Cédric Krier 4920c59650 Allow to use dotted notation in Model.get_id
issue8890
review282481004
2020-01-20 22:18:27 +01:00
Cédric Krier 4679d1c910 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 d2a461390a Remove support for Python 2.7
issue7497
review53261002
2018-06-26 19:11:19 +02:00
Cédric Krier 271442d913 Simplify language formatting
* Add get method on ir.lang
* Convert format, currency and strftime of ir.lang into instance methods

issue6858
review40761002
2017-11-15 00:15:27 +01:00
Cédric Krier a208d9a0d2 Use simplified language code for time_locale
issue5443
review29511002
2016-09-11 09:20:01 +02:00
Cédric Krier 9937191676 Encode the format of Lang.strftime for Python2
The changeset 83b07c8b2c2d removed the encoding by mistake.
The encoding/decoding dance is necessary on Python2 because strftime returns
str/bytes and converts the unicode format using ascii.

issue5762
review28621002
2016-08-10 23:13:59 +02:00
Cédric Krier 703b21292d Add test Global Search
issue5593
review25121002
2016-06-03 00:03:20 +02:00
Sergi Almacellas Abellana 74dcfeb6a6 Allow to customize the substitutions used on sequence
issue4422
review24241002
2016-05-24 11:16:24 +02:00
Cédric Krier 44693df703 Use separate test file for base modules
This allows to filter them with the command line option.

review9051002
2015-03-05 11:38:23 +01:00