Commit graph

659 commits

Author SHA1 Message Date
C?dric Krier
e115b17ca5 Implement check validity in switch_view
review21441002
2015-10-09 10:45:01 +02:00
C?dric Krier
94294365e2 Make digits with null behaves like null digits
issue5019
review19531002
2015-10-08 19:42:08 +02:00
C?dric Krier
93f896fdbc Get ids for button later
As save is called by the button, the record id could change if the save is a
creation so the list of ids must be constructed later.
2015-10-07 18:05:12 +02:00
C?dric Krier
389721641f Force set_current_record in display
To force to update the tab as done in changeset 4dd468848941 of tryton
2015-10-07 17:32:19 +02:00
C?dric Krier
63c9faa735 Setup row_activate on Window.Search 2015-10-07 16:30:02 +02:00
C?dric Krier
36be49f3ae Group.load is not asynchronous 2015-10-06 16:37:17 +02:00
C?dric Krier
aca576b860 Ensure Float.get_client returns a string
otherwise 0 could be evaluated as False.
2015-10-06 15:33:17 +02:00
C?dric Krier
b08b3bf987 Remove trailing call to the removed typeahead 2015-10-06 12:16:31 +02:00
C?dric Krier
4dda4e734c Use italic labels for editable fields
issue5008
review21411002
2015-10-05 11:15:29 +02:00
C?dric Krier
f75a1bc20b Fix icon in button
Use img with the same height as the button line-height

review21441003
2015-10-04 19:41:59 +02:00
C?dric Krier
a29a041196 Remove default (16, 2) digits
trytond doesn't enforce any digits if it is None,
so the client must do the same.

issue4742
review22491003
2015-10-03 11:55:37 +02:00
C?dric Krier
7d2ee3511e Fix timestamp in save_tree_state
tree_states should always have the timestamp and it must come from the parent.
2015-10-03 00:35:09 +02:00
C?dric Krier
a220f2d849 Remove wrong TODO comment 2015-10-02 23:17:16 +02:00
C?dric Krier
bae5be9ad5 Reload context before getting preferences 2015-10-02 22:00:10 +02:00
C?dric Krier
fb3d8387e3 Set correct width to many widgets 2015-10-02 19:43:07 +02:00
C?dric Krier
bde14854ae Set multiple property to the select element instead of the div 2015-10-02 19:42:32 +02:00
C?dric Krier
6106f57fb5 Prevent null widget to take place in the Container 2015-10-02 19:41:34 +02:00
C?dric Krier
186c9c22d3 Set css for timedelta no more for float-time 2015-10-02 19:40:34 +02:00
C?dric Krier
c88f52c2c0 Fix parsing empty string for Float and Numeric
For Javascript, Number('') results into 0 instead of NaN.
2015-10-02 19:39:32 +02:00
C?dric Krier
e07765caf7 Fix typo in Sao.common.click_press 2015-10-02 17:17:36 +02:00
C?dric Krier
f4c13435db Avoid to wrap element into div for InputCompletion
The div is only needed if it receive an input element otherwise the element can
receive the dropdown class. This avoid to increase the DOM depth and keep the
original display of the element.
2015-10-02 14:32:53 +02:00
C?dric Krier
09675b3cb5 Missing value -> val convertion
since removal of typeahead in changeset 46f829966dfc
2015-10-02 14:16:11 +02:00
C?dric Krier
132477b21f Fix typo True -> true 2015-10-02 12:29:36 +02:00
C?dric Krier
92e7244c18 Replace typeahead by custom completion based on bootstrap dropdown
review20421002
2015-10-02 11:49:23 +02:00
C?dric Krier
8438178ea7 Correctly manage message after save and copy
issue4697
review23461002
2015-09-25 18:05:08 +02:00
C?dric Krier
2605551930 Use png image for Firefox instead of SVG
until https://bugzilla.mozilla.org/show_bug.cgi?id=841920 is fixed

review23431003
2015-09-25 18:03:02 +02:00
C?dric Krier
b0f260f22b Add Dict widget
review24411003
2015-09-25 18:00:31 +02:00
C?dric Krier
0edc71f4e2 Add RichText widget
issue4962
review21381002
2015-09-25 17:55:25 +02:00
C?dric Krier
ad04ee7a3c Correctly set xxx2many modified by on_change
set_on_change should not trigger any signal but it should register
the field as modified.

issue4968
review24431002
2015-09-24 22:52:03 +02:00
C?dric Krier
e2efb68a02 Fix localize_domain to strip 4th element only for Reference field
The 4th element should only be removed is the localized field is a Reference
field otherwise it must be kept.

issue4975
review16621002
2015-09-22 22:54:41 +02:00
C?dric Krier
e40d2e25ff Don't hide column with unique value in tree view
The domain doesn't apply to the children of a tree view, so the unique value is
only unique at the top-level.

issue4973
review17501002
2015-09-22 09:32:26 +02:00
C?dric Krier
058b34c698 Manage keyboard navigation on tree view
A tabindex is added on all cells and the .one click handlers are replaced
by .on click and keypress to support return.

review18561002
2015-09-19 18:20:34 +02:00
C?dric Krier
e750185f59 Use right values for Progressbar widgets
Use internal value as fraction/value and use the client value to display the
percentage.

issue4974
review17521002
2015-09-19 18:16:09 +02:00
C?dric Krier
1968e97bc9 Fix more button which still use jQuery UI 2015-09-13 11:33:14 +02:00
C?dric Krier
c40b2a332e Keep row selected on dblclick 2015-09-13 11:26:22 +02:00
C?dric Krier
3288571464 Don't raise popup when there is no tree_open action for the row 2015-09-13 10:36:18 +02:00
C?dric Krier
73c0885393 Screen.save_current must return the promise from display
When changing with next/previous from a modified record and save it, it can
lead to the Screen.display is applied after the change of record but with the
other record values.
2015-09-13 10:15:56 +02:00
C?dric Krier
34b828186f Popup invalid message for button pre-validation
issue4930
review16581002
2015-09-13 00:23:43 +02:00
C?dric Krier
12b4673fd5 Dialog message must be pre-wrap to format correctly newline 2015-09-06 21:19:17 +02:00
C?dric Krier
2de0dd3071 Fix wrong argument for gettext in invalid_message 2015-09-06 21:18:38 +02:00
C?dric Krier
d51345bf96 Fix wrong arguments in validation_domains with pre_validate 2015-09-06 21:17:19 +02:00
Nicolas ?vrard
59729a747a Use typeahead signature and signal forgotten in changeset d4a27c6abb31 2015-09-04 17:14:22 +02:00
Nicolas ?vrard
2805d9242a merge. 2015-09-04 00:18:41 +02:00
C?dric Krier
9a1cc809bc Use minified javascript and css 2015-09-04 00:16:43 +02:00
Nicolas ?vrard
8271933ec8 Use newer typeahead and remove typeahead/bootstrap compatibility 2015-09-03 16:13:48 +02:00
C?dric Krier
803fef7dd3 Complete missing widget cases for Tree and remove default 2015-08-28 15:57:20 +02:00
C?dric Krier
9b17ead879 Limit width of checkbox also in editabletree 2015-08-28 15:56:30 +02:00
C?dric Krier
94b5629c1e Add one2one widget for form and tree 2015-08-28 11:53:02 +02:00
C?dric Krier
28261b305d Use readonly attribute instead of disabled on input
This allows the input to have the focus for accessibility.

review19401002
2015-08-28 11:27:44 +02:00
C?dric Krier
71bfec9f30 Add progressbar widget for form and tree
review18521002
2015-08-28 10:58:38 +02:00