Cédric Krier
f01b7f1b0b
Ensure edited_column empty value is always null
2015-10-09 20:16:11 +02:00
Nicolas Évrard
53ee7e7718
Add support for return and M2O autocompletion in editable trees
...
review18471002
2015-10-09 14:23:57 +02:00
Cédric Krier
0124c313cd
Append Many2One buttons after the completion to not break layout
2015-10-09 13:49:18 +02:00
Cédric Krier
61aeb845d2
Calling written should be done after the save to get the right id if it is a creation
2015-10-09 12:42:37 +02:00
Cédric Krier
7632d3504d
Manage editable top in new_model_position
2015-10-09 11:43:25 +02:00
Cédric Krier
2c0ab87b22
Implement check validity in switch_view
...
review21441002
2015-10-09 10:45:01 +02:00
Cédric Krier
2ba1b1acfc
Make digits with null behaves like null digits
...
issue5019
review19531002
2015-10-08 19:42:08 +02:00
Cédric Krier
0bef90bfd3
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
2baa74f448
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
32b50447ad
Setup row_activate on Window.Search
2015-10-07 16:30:02 +02:00
Cédric Krier
6fcb9ed64d
Group.load is not asynchronous
2015-10-06 16:37:17 +02:00
Cédric Krier
252d66d7d8
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
370e525028
Remove trailing call to the removed typeahead
2015-10-06 12:16:31 +02:00
Cédric Krier
c49119692e
Use italic labels for editable fields
...
issue5008
review21411002
2015-10-05 11:15:29 +02:00
Cédric Krier
bf0170cec5
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
22ba269923
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
6850d61e40
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
69ef2832b3
Remove wrong TODO comment
2015-10-02 23:17:16 +02:00
Cédric Krier
947985218b
Reload context before getting preferences
2015-10-02 22:00:10 +02:00
Cédric Krier
cf1c20998d
Set correct width to many widgets
2015-10-02 19:43:07 +02:00
Cédric Krier
2d16cf9201
Set multiple property to the select element instead of the div
2015-10-02 19:42:32 +02:00
Cédric Krier
76f57cb08d
Prevent null widget to take place in the Container
2015-10-02 19:41:34 +02:00
Cédric Krier
5f8a09d154
Set css for timedelta no more for float-time
2015-10-02 19:40:34 +02:00
Cédric Krier
c496bff4a6
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
6678b3a6e2
Fix typo in Sao.common.click_press
2015-10-02 17:17:36 +02:00
Cédric Krier
db5372477e
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
6cfe22250b
Missing value -> val convertion
...
since removal of typeahead in changeset 46f829966dfc
2015-10-02 14:16:11 +02:00
Cédric Krier
e9518bac6f
Fix typo True -> true
2015-10-02 12:29:36 +02:00
Cédric Krier
1011453e55
Replace typeahead by custom completion based on bootstrap dropdown
...
review20421002
2015-10-02 11:49:23 +02:00
Cédric Krier
60a5226464
Correctly manage message after save and copy
...
issue4697
review23461002
2015-09-25 18:05:08 +02:00
Cédric Krier
d35bfc788a
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
643959f9d6
Add Dict widget
...
review24411003
2015-09-25 18:00:31 +02:00
Cédric Krier
f7ab51d4f0
Add RichText widget
...
issue4962
review21381002
2015-09-25 17:55:25 +02:00
Cédric Krier
a59e017ce3
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
4f74bc89a5
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
ad12c60d3e
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
63d8bb4c0f
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
79d57e4eb3
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
29196ca17b
Fix more button which still use jQuery UI
2015-09-13 11:33:14 +02:00
Cédric Krier
1400245d46
Keep row selected on dblclick
2015-09-13 11:26:22 +02:00
Cédric Krier
d8529fc404
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
144ed9a86c
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
26c1a797d1
Popup invalid message for button pre-validation
...
issue4930
review16581002
2015-09-13 00:23:43 +02:00
Cédric Krier
e2f6c5570e
Dialog message must be pre-wrap to format correctly newline
2015-09-06 21:19:17 +02:00
Cédric Krier
7e8c4a3903
Fix wrong argument for gettext in invalid_message
2015-09-06 21:18:38 +02:00
Cédric Krier
a487f69c6c
Fix wrong arguments in validation_domains with pre_validate
2015-09-06 21:17:19 +02:00
Nicolas Évrard
acd9342eba
Use typeahead signature and signal forgotten in changeset d4a27c6abb31
2015-09-04 17:14:22 +02:00
Nicolas Évrard
542d68c380
merge.
2015-09-04 00:18:41 +02:00
Cédric Krier
55339dc384
Use minified javascript and css
2015-09-04 00:16:43 +02:00
Nicolas Évrard
6cf809ea56
Use newer typeahead and remove typeahead/bootstrap compatibility
2015-09-03 16:13:48 +02:00