Commit Graph
931 Commits
Author SHA1 Message Date
Sergi Almacellas Abellana 2dddccecbc Use win prefix to determine if we are on a windows platform
issue7008
review35801002
2017-12-13 12:50:56 +01:00
Nicolas Évrard 782ac76137 Do not return empty action list for X2M field when getting a record value
issue6988
2017-12-09 16:23:50 +01:00
Cédric Krier 1944564f1c Use input number and toLocaleString for numeric fields
To get a proper virtual keyboard on mobile, it is needed to use a input of
type 'number' when editing a numeric field. But as it is not possible to
ensure to display non signifiant digits, a text input is used with the
toLocaleString method.
Also the lang attribute is repeated on the number input because not all
browsers manage to use the global as default.

issue5233
review43621002
2017-11-27 22:18:09 +01:00
Cédric Krier 2cb332fe4c Show related record names for all windows
except from menu action.

issue6966
review42871002
2017-11-27 22:15:46 +01:00
Cédric Krier d5e6a6b4a4 Allow to edit Many2One from tree view
issue6848
review43771002
2017-11-27 22:03:16 +01:00
Sergi Almacellas Abellana 6a472c1384 Manage name attribute on form group
issue6894
review37801002
2017-11-27 11:12:08 +01:00
Sergi Almacellas Abellana 4845b56f36 Use translated values when exporting Reference and Selection fields
issue6961
review37841002
2017-11-27 10:38:12 +01:00
Cédric Krier 7eefd92994 Add minimal and maximal height for treeview in xxx2many widget
issue6942
review38961002
2017-11-21 20:51:30 +01:00
Cédric Krier 2048128573 Implement translation on richtext widget
issue6891
review36811002
2017-11-21 20:50:27 +01:00
Cédric Krier 81254a51f5 Add right border to menu
issue6940
review38951002
2017-11-21 01:25:31 +01:00
Cédric Krier cf8ab8ad02 Remove padding for group with with col -1 and 1
issue6829
review39771002
2017-11-10 10:52:22 +01:00
Cédric Krier 05edf756fb Correctly select the visible and not readonly input/select
issue6897
review41651002
2017-11-09 18:59:05 +01:00
Sergi Almacellas Abellana 5e3b18aaa9 Use a list as default pyson value of search domain
issue6904
review35741002
2017-11-03 12:36:49 +01:00
Cédric Krier 176f3ce1ac Increase version number 2017-10-30 14:49:15 +01:00
Cédric Krier f5573e14ae Added tag 4.6.0 for changeset 16a536201007 2017-10-30 14:49:05 +01:00
Cédric Krier 0ac48ffdc2 Prepare release 4.6.0 2017-10-30 14:49:05 +01:00
Cédric Krier 9c0729a227 Call fields_view_get synchronously to always have the right domain parser
issue6887
review43661002
2017-10-30 11:37:27 +01:00
Cédric Krier 6ba8db35d1 Update field description when adding existing field
issue6886
review42781002
2017-10-30 11:35:51 +01:00
Cédric Krier 824b3d740f Ensure to activate only visible page
issue6861
review36751002
2017-10-30 10:00:04 +01:00
Cédric Krier 10002cae74 Do not rely on previously stored current record display form widgets
The current record may have changed between the start of the fields load and
when the promesses are resolved.

issue6888
review37791002
2017-10-30 09:58:54 +01:00
Cédric Krier daedb42ca5 Update translations 2017-10-28 16:50:52 +02:00
Cédric Krier b2691c5b05 Improve spacing
- Prevent nav-tab to change main_navbar height
- Add padding top to menu and tabs
- Remove small margin bottom for toolbar
- Add margin bottom nav-tabs in form

review36741002
2017-10-28 01:58:10 +02:00
Cédric Krier b551d5c8f2 Modify loaded record in set_client and set_on_change of O2M
Since changeset d91743403415, only modified record are sent to the server, the
multiselection widget use set_client to store selected row so those record
must be marked as modified.

issue6855
review43611002
2017-10-21 10:48:37 +02:00
Cédric Krier ec4efb14af Use bootstrap theme for fullcalendar
issue6853
review44381002
2017-10-21 10:42:12 +02:00
Cédric Krier d2e668a6eb Test current_view before using it
get_events callback may be called by fullcalendar before the screen has set
the current_view attribute.

issue6852
review38871002
2017-10-21 10:41:12 +02:00
Sergi Almacellas Abellana 73da7e8710 Prevent undefined errors on dashboard view
Changeset c2b74d2ff7ed does not work for dashboard view, as it has no related
screen and it does not have the same tab options as form tabs
issue6867
review36721002
2017-10-20 14:55:55 +02:00
Cédric Krier 4dd5606a08 Load model access synchronously
It is needed if the list of model has changed since the login.

issue6635
review37731002
2017-10-13 23:36:18 +02:00
Cédric Krier 6d82bf5a48 Skip column without field on next_column
issue6815
review39741002
2017-10-11 22:47:26 +02:00
Cédric Krier 951da9417d Unselect other rows if not ctrl or single selection
issue6807
review44361002
2017-10-11 22:46:50 +02:00
Cédric Krier 2b0f4ca685 Consider Reference field with negative record as empty
issue6749
review38791002
2017-10-11 22:43:12 +02:00
Sergi Almacellas Abellana fa41ccfeed Set current_record id on eval context
issue6826
review42701002
2017-10-06 14:40:18 +02:00
Cédric Krier f990f1e5a3 Do not fail when completing selection with last value None
This may happen when searching for several values which need to be quoted
using ';"'.

issue6714
review35641002
2017-10-05 22:34:12 +02:00
Cédric Krier c92a529391 Use radio for single mode selection
As the selection mode may be changed after the construction of the view, the
selection column is always constructed but its visibility and the input type
are set on the display call.

issue6795
review39711002
2017-10-02 16:08:23 +02:00
Cédric Krier dfb48edd1d Use length to test Group emptiness
jQuery.isEmptyObject does not consider Group without records as empty.

issue6800
review35651002
2017-10-02 16:01:48 +02:00
Cédric Krier d832eb0b9a Use condensed table for tree view
And remove table style to menu.

issue6781
review38741002
2017-09-28 23:40:46 +02:00
Cédric Krier 7edeac84a0 Use a span to ensure min-width on responsive table
The span will be displayed as block only on responsive table so it does not
spend the space on non-responsive table.

issue6782
review42651002
2017-09-28 23:39:18 +02:00
Cédric Krier da4b4d80ab Add only modified records of xxx2Many
issue6754
review38641002
2017-09-27 18:48:39 +02:00
Cédric Krier c5fdd1a784 Allow to export model and record name of Reference fields
issue5667
review38621002
2017-09-26 01:27:56 +02:00
Cédric Krier eff574e7f5 Apply the same padding to all nested form-container
issue6763
review38691002
2017-09-21 00:16:24 +02:00
Cédric Krier fbd5fba47a Expand input-group of Many2One when readonly and empty
issue6763
review38691002
2017-09-21 00:15:37 +02:00
Cédric Krier 01dd359585 Increase margin-bottom of toolbar
issue6763
review38691002
2017-09-21 00:14:21 +02:00
Cédric Krier 76fa007d63 Add margin to filter box
issue6763
review38691002
2017-09-21 00:13:25 +02:00
Cédric Krier 0e8ebae38a Use the encoded data from Papaparse
encode_utf8 was converting the string into URI and ASCII instead of keeping
the unicode string.

issue6766
review41561002
2017-09-20 19:08:25 +02:00
Cédric Krier 2e50b3f8ee Ask confirmation to unload the page
If there are any tabs open, we should ask confirmation to prevent user to
loose unsaved data.
We should also save the tree state of the menu like it is done on logout.

issue6756
review44301002
2017-09-15 19:44:49 +02:00
Cédric Krier 3f09fb349a Set srceen readonly for Search window
issue6752
review43471002
2017-09-15 19:43:56 +02:00
Cédric Krier e998a0ad7d Manage also 401 HTTP status to renew session
This is a similar status to 403 also used by the server.

issue6748
review38611002
2017-09-07 21:09:01 +02:00
Cédric Krier 02bbc2e572 Group load and remove must trigger a root display
The xxx2Many widget does not use set_client but load and remove.

issue6568
review42641002
2017-09-07 21:07:33 +02:00
Cédric Krier 3d3f9b652d Wait to have read all the fields before set state and display
The state of a field can depend on the value of another field.

issue6687
review43461002
2017-09-07 21:04:17 +02:00
Cédric Krier 88643f1491 Use valueOf Number to convert to Boolean
issue6746
review37671002
2017-09-07 21:03:12 +02:00
Cédric Krier 4297d72ff9 Use client limit for window action with empty limit
issue6740
review36591002
2017-09-07 21:02:29 +02:00