Commit Graph
946 Commits
Author SHA1 Message Date
Cédric Krier bfb2fcaa71 Rationalize context usage
issue7072
review43041002
2018-03-09 19:10:58 +01:00
Sergi Almacellas Abellana 760f1b2912 Do not show confirm dialog for buttons with empty value
Since issue6389 the server sets an empty value for the buttons
that do not have any confirmation string

issue7193
2018-03-06 14:41:39 +01:00
Nicolas Évrard 7d1bc66823 Reenable grunt-watch task 2018-03-06 10:34:28 +01:00
Cédric Krier b2109d8297 Push record in on_change values if it is not deleted and not removed
issue7164
review43171003
2018-03-04 00:58:11 +01:00
Cédric Krier d55033bbc3 Correctly evaluate domain between xxx2many and null
The value of empty xxx2Many is an empty Array which must be comparable to
null.

issue7163
review44681002
2018-03-04 00:53:46 +01:00
Cédric Krier 8fd555a0c2 Correctly compare model names in display next and previous
issue7146
review41861002
2018-02-23 10:55:28 +01:00
Xavier Codinas af0b82fddb Use spellcheck and lang attributes for textbox widget
issue6889
review39851002
2018-02-12 10:56:22 +01:00
Cédric Krier e182cbd947 Add support for icon on tab
issue7060
review43021002
2018-02-07 00:41:43 +01:00
Felipe Morato 2e6a660033 Format lang tags to comply with toLocaleString
Replace underscore for language tags to a hyphen because
toLocaleString expects a format of 'pt-BR' for composite tags while
tryton stores them with an underscore: 'pt_BR'.

issue7080
review41001002
2018-02-06 12:46:54 +01:00
Cédric Krier 74e6b85c73 Use common date_format on search filter and graph
issue7071
review43031002
2018-02-04 23:39:20 +01:00
Nicolas Évrard ae882ae78d Add keyword attribute to button tag
issue7067
review44581002
2018-01-24 14:35:44 +01:00
Cédric Krier 53300b651f Support field name on image tag
issue7058
review35851002
2018-01-23 22:15:21 +01:00
Diego Abad 24ef842a26 TimeDelta converter take group as parameter instead record
issue6946
review35831002
2018-01-09 18:52:00 +01:00
Cédric Krier 1b9c85d039 Do not override database from hash if the list is empty
issue7038
review40911002
2018-01-08 19:25:31 +01:00
Cédric Krier 11aabe8b24 Use 100% width and height for modal-lg
issue6997
review40851002
2017-12-26 17:30:27 +01:00
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