Cédric Krier
560f056751
Add missing space and dot in translated strings
2020-10-21 21:08:55 +02:00
Cédric Krier
ab14e12f1f
Restore English language on tear down
...
The translations tests change the default language on setup and commit the
change. So we must restore the initial state of the database at the end of the
test case.
issue9702
review312521002
2020-10-14 14:43:40 +02:00
Cédric Krier
9c9f9fd60f
Use different table instance for ir.queue sub-queries
...
It is cleaner and safer to use different instances for sub-queries.
issue9682
review294671002
2020-10-12 13:01:14 +02:00
Cédric Krier
b8e2124a45
Add optional PYSON recipients to email template
...
issue9617
review306401002
2020-10-11 13:32:18 +02:00
Cédric Krier
cd7d40eb07
Add symbol widget
...
issue9059
review276871002
2020-10-09 19:09:06 +02:00
Sergi Almacellas Abellana
2c461be0a0
Define ir module groups on res module
...
issue9633
review291051002
2020-10-09 13:06:42 +02:00
Sergi Almacellas Abellana
97194bc10b
Add format_datetime to Report
...
issue7202
review45521002
2020-10-04 23:04:01 +02:00
Cédric Krier
6b11460823
Fallback to model name as title
...
issue9596
review300381002
2020-10-04 00:35:23 +02:00
Cédric Krier
81bade4035
Allow sharing view searches
...
We add a rule to give read access to all view searches without a user.
We manage the delete access on client side thanks to the _delete attribute.
If the user does not have the delete right, the bookmark star is disabled.
issue9515
review323751002
2020-09-24 23:00:52 +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
82e64bf66a
Send client email via server
...
issue9449
review292001002
2020-09-17 17:18:02 +02:00
Cédric Krier
c2aee769f2
Assign seps variable of Lang.format before using it
...
issue9585
review306331002
2020-09-16 23:25:48 +02:00
Cédric Krier
d1db3bba30
Queue trigger action only when there are records
...
issue9579
review315901002
2020-09-12 18:33:30 +02:00
Cédric Krier
d3494d767c
Support MsgDirective and cache template for report
...
We add the Translator directives to the template so we can use the i18n
extension on HTML report.
We also cache in memory the parsed template and avoid to write it in temp
directory for the loader.
issue9511
issue6489
review321891002
2020-09-12 16:35:52 +02:00
Cédric Krier
28356c0b54
Do not reuse browse list of modules once some have been deleted
...
The browse list keep a reference to the deleted modules, so a read error
may be raised when accessing an attribute of any record of the list.
issue9567
review318151002
2020-09-09 23:36:33 +02:00
Cédric Krier
642bd01520
Modify a copy of the context when pushing into the queue
...
issue9549
review327901002
2020-08-29 18:26:14 +02:00
Cédric Krier
0b85f26f78
Add cron task to clean old queue tasks
...
issue9502
review306141002
2020-08-11 22:03:20 +02:00
Cédric Krier
70648c3007
Add resource relate on notification log
...
We store on the log the record as resource but also the notification to get
the email subject.
issue9457
review307901002
2020-08-11 22:00:26 +02:00
Cédric Krier
e11a23deb2
Rationalize import path
...
We use absolute path when imported module is from a different context.
And we remove unnecessary __all__ definition.
issue9466
review323591002
2020-07-21 14:38:36 +02:00
Cédric Krier
5ea5007bfc
Allow keyword action for all models
...
issue9450
review325681002
2020-07-21 14:32:09 +02:00
Cédric Krier
414a379a51
Explicitly define action values send to clients
...
This avoid to forget to exclude new field added to action.
issue9445
review305961002
2020-07-13 21:21:20 +02:00
Cédric Krier
e97f4e0526
Allow configuration of default colors for graph and calendar
...
issue9435
review300011002
2020-07-09 00:34:01 +02:00
Cédric Krier
6f9015b416
Normalize wizard message views
...
We use the proper icon between info, question, warning and error.
We remove the exclamation mark in info messages.
issue9429
review301831002
2020-07-09 00:21:48 +02:00
Cédric Krier
060a9da6bf
Add model, record and records attribute on Wizard
...
issue9421
review309861012
2020-07-07 23:56:10 +02:00
Cédric Krier
0bb382d1dc
Do not set slots on ShowViewStart
...
The model is generic and must accept that Wizard.execute set any field on it.
issue9425
review301821003
2020-06-27 00:52:49 +02:00
Cédric Krier
bca6813e64
Add inherited name or type to the view record name
...
This reduces the ambiguity of using only the model.
issue9424
review299961012
2020-06-24 23:02:24 +02:00
David Harper
bc01b3ed99
Add icon license file
...
issue9152
review317481002
2020-06-01 10:08:02 +01:00
Cédric Krier
eed1f5fe58
Check price_decimal configuration
...
The price_decimal stored in ir.configuration is checked against the current
configuration value. We do not allow to start serving a database for which the
values are different as it may be due to a misconfiguration which can lead to
data corruption.
issue9324
review317381002
2020-05-28 18:22:45 +02:00
Cédric Krier
163f99ff65
Add context to export URL
...
issue9304
review317361002
2020-05-19 19:36:09 +02:00
Cédric Krier
ec4a8e9a90
Update translations
2020-05-02 10:29:26 +02:00
Nicolas Évrard
820b71b0ee
Do not write metadata on ir.note when writing on only the unread field
...
issue9245
review305371002
2020-04-21 14:06:10 +02:00
Udo Spallek
70e58d6f1d
Clear report path when copying reports
...
issue9174
review299191002
2020-04-19 09:59:48 +02:00
Albert Cervera i Areny
2b609b8036
Add filename to translation export wizard
...
issue9216
review279011002
2020-04-13 23:49:48 +02:00
Sergi Almacellas Abellana
3378e283fd
Add language configuration wizard
...
issue9172
review267031002
2020-04-13 20:47:17 +02:00
Cédric Krier
0081dc431d
Allow copying attachments and notes to created records
...
issue9154
review266971002
2020-04-13 17:25:02 +02:00
Cédric Krier
ad4a2bdf75
Add link button
...
issue9051
review280841002
2020-04-13 12:21:55 +02:00
Cédric Krier
5626018cd6
Add export CSV data route
...
issue9090
review261011002
2020-04-12 23:10:30 +02:00
Cédric Krier
ab019772a7
Add width and height attributes on calendar view
...
issue9148
review250931003
2020-04-01 23:58:49 +02:00
Cédric Krier
b1e0c03707
Simplify trigger action
...
We use now a selection field to choose the action to trigger.
It is safer and more user friendly.
issue9096
review272961003
2020-03-28 23:56:19 +01:00
Cédric Krier
5f9a7554ae
Cast CurrentTimestamp into timestamp to remove timezone
...
issue8342
2020-03-28 23:37:18 +01:00
Cédric Krier
34e5c61a1a
Run trigger in the queue
...
This ensures that internal changes that are reverted later in the same
transaction does not trigger an action.
Also we ensure that a record is triggered by the same trigger only
once per transaction.
issue8342
review280971002
2020-03-28 17:13:12 +01:00
Sergi Almacellas Abellana
6b3eb52d17
Stop cron database retry after successful execution
...
issue9170
review297311002
2020-03-24 10:02:58 +01:00
Cédric Krier
5e41ca21f9
Convert interval into seconds
...
The correct way to convert interval into seconds is to use
"EXTRACT(EPOCH FROM ...)". The "SECOND" gives only the value of the second
field.
issue9126
review297181005
2020-03-17 23:21:20 +01:00
Cédric Krier
065e18a9fb
Return list instead of map object in get_action
...
The value must be converted into JSON.
2020-03-01 16:33:00 +01:00
Cédric Krier
d7ed5f91f5
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
Cédric Krier
62a24a6615
Manage readonly dates and editable calendar view
...
If any of the dates is readonly, the event can not be modified by drag and
drop.
If the calendar is not editable no events can be modified.
issue9012
review256451002
2020-02-29 23:43:50 +01:00
Cédric Krier
a99931c5c4
Do use translation cache if records were modified after last synchronisation
...
On distributed setup, the cache is not synchronized instantaneously so we can
not use the cache if the record was modified by another process since the last
synchronisation.
issue9013
review262841002
2020-02-15 01:36:48 +01:00
Cédric Krier
750ad14bb2
Skip trigger using contextual key
...
Relying on the user is not flexible enough.
issue8993
review260841002
2020-01-29 00:03:40 +01:00
Cédric Krier
7875590cf3
Add xalign and yalign to group
...
issue8956
review258581002
2020-01-24 00:18:19 +01:00
Cédric Krier
4920c59650
Allow to use dotted notation in Model.get_id
...
issue8890
review282481004
2020-01-20 22:18:27 +01:00