Commit Graph
450 Commits
Author SHA1 Message Date
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 6cf809ea56 Use newer typeahead and remove typeahead/bootstrap compatibility 2015-09-03 16:13:48 +02:00
Cédric Krier 05b17ef61c Complete missing widget cases for Tree and remove default 2015-08-28 15:57:20 +02:00
Cédric Krier 198773390d Limit width of checkbox also in editabletree 2015-08-28 15:56:30 +02:00
Cédric Krier 7953c9b5b5 Add one2one widget for form and tree 2015-08-28 11:53:02 +02:00
Cédric Krier e7a35b912f 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 a207cf9e62 Add progressbar widget for form and tree
review18521002
2015-08-28 10:58:38 +02:00
Cédric Krier 34053527e3 Re-enable text widget in list view 2015-08-23 14:04:15 +02:00
Cédric Krier 7cf2b35ef9 Missing class for column URL 2015-08-23 13:58:47 +02:00
Cédric Krier 6b21afaa8f Get current session before using it 2015-08-23 13:48:28 +02:00
Cédric Krier 7f3c67fced Add image widget for form
review15611002
2015-08-21 15:37:12 +02:00
Cédric Krier 7c1e7555e2 Add url, email, callto and sip widgets
review17381002
2015-08-14 17:46:22 +02:00
Cédric Krier 0def3e8552 Add some padding to form-container td 2015-08-14 17:37:27 +02:00
Cédric Krier f669f5325c The date_format must be set on all actions context
issue4892
review16511002
2015-08-10 11:11:00 +02:00
Cédric Krier b3bac3a4ed Add missing update_selection on ReferenceColumn 2015-07-31 22:26:09 +02:00
Cédric Krier 41fca841db Typo in password type 2015-07-31 22:25:40 +02:00
Cédric Krier ad9e1e8916 Implement add method on Window
review15461002
2015-07-28 20:44:47 +02:00
Nicolas Évrard 2c21368f2f Focus tree cells in editable trees when switching from one to another
review17361002
2015-07-28 13:25:01 +02:00
Cédric Krier ac66296cc2 Use a domain_parser for the current view and instanciate it on demand
issue4773
review22331002
2015-07-28 07:50:45 +02:00
Cédric Krier 034dea5312 Check if field is loaded before adding its timestamp
issue4876
review20341002
2015-07-28 07:42:25 +02:00
Nicolas Évrard fe7287a675 Fix S-Tab handling in editable treeview 2015-07-26 16:23:12 +07:00
Cédric Krier ea52c00bdc Fix jsonify of Decimal and ensure Decimal instance is always used
The string version of the Decimal must be used for json.
When Decimal instances are used in calulation with Number, the result is no
more a Decimal instance so it must be converted again.

review22341002
2015-07-26 16:12:51 +07:00
Nicolas Évrard 0e56184a99 Handle readonly states in editable treeview
review15571002
2015-07-26 11:55:48 +07:00
Cédric Krier 0bdab1d745 Add labelledby and label for
issue3180
review17351002
2015-07-17 21:55:14 +02:00
Cédric Krier 0ce7edc54d Fix parent model comparison when eager loading 2015-07-17 21:44:07 +02:00
Cédric Krier feb39cc54c Re-add action_button class on screen button
This class allows to remove this type of button on each click.
The class was lost in changeset 5f3dd03dc30b
2015-07-17 18:26:22 +02:00