Commit Graph
1278 Commits
Author SHA1 Message Date
Nicolas Évrard 9103b7e6fe Use npx
issue8397
review275481002
2019-06-05 13:11:06 +02:00
Cédric Krier 9814f598d4 Add Dict widget to tree view
It is needed to be able to search on dict.

issue8296
review271331012
2019-06-04 18:20:23 +02:00
Nicolas Évrard ddef8d7c06 Return an empty URL when the icon name is invalid
issue7904
review70461002
2019-06-04 17:38:17 +02:00
Cédric Krier 07452ba2dc Reduce number of promises when rendering tree
We preload the first field of the first row if needed. This should ensure that
the following records are also loaded.
And we do not call load if the field is already loaded to avoid to create a
promise.

issue8199
review265411002
2019-06-03 15:45:06 +02:00
Cédric Krier e3f964f3f8 Use same definition format for dict key than field
This will allow to use the dict keys as relational fields and allow the client
to use them for domain parsing.

issue8295
review273311002
2019-06-03 15:37:49 +02:00
Cédric Krier 81414b98de Remove calc expression in media query
It is not a valid syntax and it is no more computed by less.

issue8374
review265471002
2019-05-28 09:53:36 +02:00
Cédric Krier 112f35ad02 Split dropdown menu of tab using the screen height
The split should depend on the height of the screen and not the width because
it does not have a scrollbar when it is too long.

issue8292
review263371002
2019-05-22 18:34:39 +02:00
Cédric Krier 6a2163b24b Ensure to execute display before showing the info message
The display must be run before the callback linked to the promise of
save_current. And save_current must return a promise with the same state as
the save promise.
Also save should not reject with the exception to avoid jQuery warning.

issue8338
review265421002
2019-05-13 22:38:11 +02:00
Raimon Esteve ace735ac21 Correct widget name of binary in treeview
issue8337
review261441002
2019-05-09 09:31:58 +02:00
Cédric Krier 486bc72436 Increase version number 2019-05-06 14:47:14 +02:00
Cédric Krier 902e63aaad Added tag 5.2.0 for changeset 4074fcefe73d 2019-05-06 14:47:02 +02:00
Cédric Krier b7df23ad55 Prepare release 5.2.0 2019-05-06 14:47:02 +02:00
Cédric Krier b3e5ee2a9a Do not send value for readonly Many2Many
In contrary to One2Many, Many2Many can not be modified when they are readonly.
But Many2Many inherit from One2Many so we must exclude them explicitly from
the test.

issue8323
review275371002
2019-05-06 13:37:21 +02:00
Cédric Krier e45f3409d4 Convert height and width attributes into integer
This conversion was lost in the refactoring of issue8131.

issue8325
2019-05-05 19:50:58 +02:00
Cédric Krier 252b6fb378 Do not rely on field views to load form fields
If the views attribute of the field is wrong or empty, the record will not
load the value for this field. The views attribute can be empty if it was
created by copying the field from its parent.
So it is safer to not rely on this attribute which is there only for
optimization and instead always use all the fields defined on the view.

issue8289
review263471002
2019-05-05 19:33:48 +02:00
Cédric Krier 3088e61855 Ensure to parse only node with tagName
For example, text node has no tagName nor attribute.
2019-05-03 18:17:04 +02:00
Cédric Krier daf22d5ccb Update grunt configuration to make puppeteer works on drone
The default node image does not contain the required libraries to run chromium
headless. So we use our own custom image.
Also chromium must be run without sandbox when it is run as root as it does in
docker image.

issue8316
2019-05-03 11:01:36 +02:00
Cédric Krier 509bde545f Upgrade grunt dependencies
issue8316
review263401003
2019-05-03 09:10:04 +02:00
Cédric Krier 87d14df402 Add boostrap JS to test index page
The method get_credentials needs modal.

issue8315
review287361002
2019-05-02 12:58:12 +02:00
Cédric Krier 6970729b7d Do not reuse the same loop variable inside nested loop of affixes
issue8314
review253421002
2019-05-02 12:56:40 +02:00
Cédric Krier d6ab245cc1 Update board parse to work with new Container API
The Container API has changed in issue8139.

issue8307
review267321003
2019-05-02 12:54:19 +02:00
Cédric Krier 66dbb2502e Use group _context to avoid leaking session context
When launching a new action, the context should not contain the session
context because it is automatically appended to the evaluation.
When creating a new group when the context model changed, it should not
contain the session context neither.

issue8312
review267301002
2019-05-02 12:49:12 +02:00
Cédric Krier c051e3ead7 Ensure to put search_value in URL
If the screen container or the domain parser are not yet ready to compute the
search_value, we should ensure to use the initial search_value. Otherwise sao
may trigger to open a new tab without the search_value because the URL will be
set with an empty search.

issue8267
review281471002
2019-05-02 12:46:37 +02:00
Cédric Krier 7e1e0d9903 Update clients catalog template 2019-05-01 22:20:52 +02:00
Sergi Almacellas Abellana 4bd86b26ec Return rejected promise when creation fails
issue8168
review51631002
2019-05-01 21:58:01 +02:00
Cédric Krier dd917e40d4 Update translations 2019-05-01 18:05:27 +02:00
Cédric Krier 9e6686a0fd Do not define note method on board
The menu constructor checks the presence of the method to fill the menu or
not. But The board can not have any note.
2019-04-28 01:11:43 +02:00
Cédric Krier 185eef1e63 Allow all models for reference if there is no restriction
If the allowed models is empty, it means that there is no constraint on the
reference model. So we must allow all of them.

issue8300
review275311002
2019-04-26 12:04:10 +02:00
Cédric Krier 9c63f7a444 domain_parser should use rec_name for relation field and list
in operator on relation field must use list of ids. So the related rec_name
should be used instead because domain_parser always uses string as value.

issue3540
review271321002
2019-04-24 23:45:06 +02:00
Cédric Krier da45c2dcac Do not make visible close tab button on small screen
The navbar where there is already a close button is collapsed only on extra
small screen.

issue8291
review267271002
2019-04-24 23:42:44 +02:00
Cédric Krier 90cd8f9101 Add missing add_remove to search domain of Many2Many
issue8251
review273281002
2019-04-23 11:59:40 +02:00
Sergi Almacellas Abellana 686d4016be Do not send array keys on on_change_with requests
fieldnames is already converted to an Array so sending it's keys will send
the Array indexes but the server expects the field names.

issue8280
review249291003
2019-04-15 13:46:17 +02:00
Sergi Almacellas Abellana 247a32f74c Add domain inversion for reference fields
issue7877
review45831002
2019-04-14 14:17:39 +02:00
Nicolas Évrard c1dd32af8c Add list-form view
issue8185
review255091002
2019-04-08 15:06:36 +02:00
Cédric Krier 8e93249ac8 Remove id to on_change calls that are cached
issue8234
review275131002
2019-04-08 10:14:39 +02:00
Cédric Krier a16942501e Add cache management on RPC
issue8233
review257231002
2019-04-08 10:10:40 +02:00
Cédric Krier f612d51356 Merge README and doc and remove INSTALL
issue7397
review253271002
2019-04-06 17:38:58 +02:00
Cédric Krier 83f9c7d87f Allow to update records when importing data
issue652
review273131003
2019-04-04 20:00:25 +02:00
Cédric Krier 2056f1914b Do not use width attribute on column
If all columns have it, the widths will be distributed to a all columns even
the select column.

issue8219
review271111002
2019-04-04 19:13:20 +02:00
Nicolas Évrard 12a070d5b1 Use -webkit-user-select property in treeview 2019-04-02 18:19:08 +02:00
Cédric Krier c072a28134 Set from with a record in select_records when empty
from must be a record as it is compared against other records but it should be
set only if there is a to (to make a valid range).
2019-04-01 19:10:36 +02:00
Cédric Krier 765fa6f108 Update links in package description
issue7921
2019-03-31 00:15:10 +01:00
Cédric Krier f8a1908d11 Add HTML editor
issue8004
review54481002
2019-03-30 16:04:45 +01:00
Cédric Krier 1a50e08fba Replace affix by sticky position
issue8214
review259181002
2019-03-28 19:33:23 +01:00
Cédric Krier 13777b21b0 Do not propagate click on selection cell
but select the checkbox instead.

issue8209
review287071002
2019-03-28 19:31:18 +01:00
Cédric Krier 5a57dede77 Use locale format for data export and import
issue8196
review255151002
2019-03-28 19:22:49 +01:00
Sergi Almacellas Abellana 2610f65d56 Add day view on calendar
issue7774
review66441002
2019-03-28 12:26:19 +01:00
Cédric Krier 809a2f5050 Add background color to selected rows
issue8210
review273121002
2019-03-22 18:20:32 +01:00
Cédric Krier 2f96f858ae Add CSV exports to print toolbar
issue8130
review54571002
2019-03-22 17:21:20 +01:00
Cédric Krier 854b4adc73 Improve note button
* Add resources method to ModelStorage
* Support badge on icon
* Display unread and total of notes
* Add two extra colors for icon

issue8122
review70561002
2019-03-22 12:16:36 +01:00