Commit Graph
1091 Commits
Author SHA1 Message Date
Cédric Krier 53dfb72b3f Replace icon-bar by caret for collapse navbar button
issue7601
review66321002
2018-08-09 20:36:37 +02:00
Cédric Krier 9485002270 Move add/remove input next to the add and remove buttons
The changeset c2b74d2ff7ed reordered the toolbar but left the input at the
beginning while the add and remove buttons were moved in the middle next to
the create button.

issue7604
review47641002
2018-08-07 14:01:27 +02:00
Cédric Krier 4bfa18fff3 Do not change location hash when clicking on links
issue7596
review49521002
2018-08-06 19:08:07 +02:00
Cédric Krier 535c6b7fe4 Improve dialog size
Use medium size for wizard and CSV import/export.

issue7511
review70301002
2018-08-01 12:20:40 +02:00
Cédric Krier e2f0abf2fc Add support of timestamp field on client
issue6463
review50521002
2018-08-01 11:37:09 +02:00
Sergi Almacellas Abellana 1ac95294b1 Add Array.from replacement for IE11 support
issue7559
review47581002
2018-08-01 10:33:39 +02:00
Cédric Krier 3395f90190 Remove selected/expanded from tree construct
issue7468
review42201002
2018-07-27 17:39:36 +02:00
Cédric Krier fdf6ccc46c Reduce number of call to display in set_default
issue7578
review66311002
2018-07-27 17:36:09 +02:00
Cédric Krier 53ead8b484 Do not change location hash when toggle menu or open preferences
The default event must be prevented to not update the location hash.

issue7588
review74271002
2018-07-26 00:35:34 +02:00
Cédric Krier 0629d4bef0 Move global search in navbar
This gives more places to display menu entries in the dropdown.
And provide more spaces for the menu on small screen.

issue7485
review47621002
2018-07-26 00:25:00 +02:00
Cédric Krier ade21e9fbc Set current record on reload
issue7575
review64291002
2018-07-24 19:10:09 +02:00
Cédric Krier 98704d853b Change modal-body overflow on completion shown
Since 9f1aa32d4c75, modal-body as overflow-x auto, when the completion is
shown the browser adds a scrollbar to the modal-body and the completion is not
visible.

issue7574
review74261002
2018-07-18 00:14:57 +02:00
Cédric Krier 858fdd6de0 Use valueOf to compare moment in DomainInversion
issue7576
review50511002
2018-07-18 00:09:14 +02:00
Cédric Krier a5ba323ce9 Update to new HTTP status code
issue7565
review70281002
2018-07-16 14:47:57 +02:00
Cédric Krier 1ad6f51995 Limit size of tab titles
issue7543
review64281002
2018-07-10 17:08:56 +02:00
Cédric Krier 67e05614c2 Implicit conversion to boolean in PYSON statement
issue7528
review58281002
2018-07-10 16:57:15 +02:00
Nicolas Évrard 7108a224a5 Validate dictionary items
issue7199
review47541002
2018-07-09 12:44:26 +02:00
Cédric Krier 7cd20aa3d2 Allow horizontal scroll modal body
issue7549
review68271002
2018-07-02 23:26:43 +02:00
Cédric Krier 33036a3b37 Do not call fields_get for field name with '.'
issue7538
review66261003
2018-07-02 23:25:26 +02:00
Cédric Krier 444e95758d Wait promises when setting on_change values
The display of the screen should be called after the One2Many values are set.

issue7456
review66261002
2018-07-02 23:21:18 +02:00
Nicolas Évrard 7b60080090 Add (i)like support to domain inversion
issue7522
review58261002
2018-06-27 10:25:17 +02:00
Cédric Krier 4dcd8deab1 Replace chained comparison as it is not support by JS
issue7513
review56271002
2018-06-24 16:49:33 +02:00
Xavier Codinas 4705213d83 Ensure that you can scroll when modal exceeds browser height
issue7517
review49471002
2018-06-21 13:12:29 +02:00
Cédric Krier 1d8798da2a Add views of the field in the loading strategy
This strategy limits the selection of other fields to load in bunch to those
sharing at least one common view.

issue7359
review47351002
2018-06-20 11:22:18 +02:00
Cédric Krier d687d6e0ac Add view_id option to switch action
issue7364
review45381002
2018-06-20 10:19:51 +02:00
Diego Abad e781efb4f2 Support width attribute on tree view
issue7503
review53271003
2018-06-19 10:48:34 +02:00
Cédric Krier 445d340425 Call set method in set_default
The default value format may not be the internal format for _values like a
string for Reference field instead of a list.

issue7514
review42241002
2018-06-18 21:48:05 +02:00
Nicolas Évrard b26ff4dd86 Use non conflicting keyboard shortcuts
issue7218
review41181002
2018-06-18 15:47:18 +02:00
Cédric Krier 693b33528f Use auto width and some marge for large modal on medium screen
issue7504
review48461003
2018-06-11 23:29:00 +02:00
Maxime Richez 148dcc674c Add context to get_rec_name RPC call
issue7454
review46511002
2018-06-08 09:25:25 +02:00
Sergi Almacellas Abellana ecf1d18c14 Call on_change methods after setting default dtstart on calendar view
issue7496
review48441002
2018-06-07 14:36:15 +02:00
Sergi Almacellas Abellana 01cbdca002 Convert value to datetime when setting calendar view default value
issue7495
review47471002
2018-06-06 16:18:39 +02:00
Cédric Krier 823c698599 Ensure Record.load promise is resolve when field is loaded
The Record.set should wait the eventual promises of Field.set before setting
_loaded and validate.

issue7467
review50461002
2018-06-04 18:51:33 +02:00
Cédric Krier 3ddc30e7ae Move predefined exports list uder the buttons that control it
This makes the view more consistent with the selected fields that come from
the current view.

issue7462
review52301002
2018-05-31 13:21:11 +02:00
Cédric Krier d3dffd7208 Stop click event from tab menu
Otherwise the hash location is cleared as the menu entries are link with
href="#".

issue7461
review42191002
2018-05-29 10:30:32 +02:00
Cédric Krier 24cd57c609 Convert to Number for identity comparison if one member is an instance
In Javascript, the identity comparison is not true when comparing a Number
with its instance. But domain may use integer or float in their clause against
Numeric fields.

issue7446
review50421002
2018-05-24 13:21:47 +02:00
Cédric Krier a44a767fa4 Do not fill group with undefined when sorting on unknown ids
issue7455
review49361002
2018-05-23 23:35:41 +02:00
Cédric Krier 47d3cc8458 Do not create new group when search_filter is called only for ids
issue7455
review49361002
2018-05-23 23:35:05 +02:00
Cédric Krier 31c1aa96f0 Use save to get message info when triggering an action
Instead of always calling save_current on the screen, it is better to call
save when the record has been modified. This allows to get message information
about failure or success but only if the record needed to be saved.

issue7430
review38231002
2018-05-23 23:29:37 +02:00
Cédric Krier 7d527be7b9 Allow to open in new tab Many2One and Reference
issue7324
review47301002
2018-05-23 23:18:54 +02:00
Sergi Almacellas Abellana b62bba2bac Store session in browser storage
issue7018
review36911002
2018-05-23 16:40:26 +02:00
Cédric Krier 392a86ad6e Update dependencies
issue7448
review46451002
2018-05-22 23:31:46 +02:00
Cédric Krier 1bdf6fb17e Update missing translations
issue7414
2018-05-21 23:13:15 +02:00
Cédric Krier 79cbde2ad6 Ensure sequential order of on_change calls
It is expected that the on_change_with calls are done using the result values
from the prior on_change calls.

issue7433
review50361002
2018-05-17 18:26:10 +02:00
Cédric Krier 5f7b567785 Format correctly numbers in Dict widgets
- use input of type number to have locale format

issue7429
review50341002
2018-05-16 23:45:53 +02:00
Cédric Krier 76a84aa23e Format correctly numbers in Dict widgets
- display 0 instead of empty
- round to the number of digits

issue7429
review50341002
2018-05-16 23:45:18 +02:00
Cédric Krier 67044270f1 Increase the space available on main navbar for tablist
- use icon instead of text for logout
- move favorites in the global search
- merge brand and toggle menu
- allow to toggle menu on lg
- reduce expander size

issue7325
issue5554
review44921002
2018-05-12 01:04:50 +02:00
Cédric Krier 70134eff16 Manage URL and history
issue7370
review48271002
2018-05-12 00:39:59 +02:00
Cédric Krier d1f696ee0e Do not set a default date_format in context when executing an action
Sao.common.date_format is in charge of using the session context as fallback.

issue7419
review45071002
2018-05-10 20:20:37 +02:00
Cédric Krier 99a7eba794 Set overflow-y of #menu to auto
This ensure that the vertical scrolling for the menu will be done the element
instead of the page.

issue7420
review49321002
2018-05-10 20:15:22 +02:00