Commit Graph
881 Commits
Author SHA1 Message Date
Cédric Krier 2a83ece397 Keep a single instance of PYSON Encoder in SearchView
issue6744
review36601002
2017-09-07 21:01:00 +02:00
Cédric Krier 2c53a4ed0f Improve binary/image buttons
- show/hide clear/select button
- move open as primary icon of filename
- show download only when there is data to download

issue6719
review35561002
2017-09-07 18:45:44 +02:00
Cédric Krier e972b7629c Set focus on first visible input when modal is shown
issue6684
review35531002
2017-09-03 11:39:47 +02:00
Cédric Krier e6e8057485 Ensure focus element is evaluated to receive the focus
The .find method returns only the children that match but not the element
itself.

issue6737
review35591002
2017-09-03 11:39:14 +02:00
Cédric Krier 59665e84a9 Improve treeview headers
- Use same alignment as the widget
- Make label bold by inherited header style
- Use bordered on editable

issue6681
review39561002
2017-09-03 11:31:04 +02:00
Sergi Almacellas Abellana c9e521b6b1 Manage string attribute on group
issue6611
review35581002
2017-08-31 11:13:09 +02:00
Cédric Krier 80074df5fd Do not fail if Mousetrap is not defined
The tests do not import mousetrap and so they fail. It is better to limit the
import in the tests to what is really needed for them.
2017-08-30 18:48:00 +02:00
Cédric Krier d027e9ee81 Add keyboard shortcuts
issue6104
review32881002
2017-08-30 18:27:52 +02:00
Cédric Krier f240d86595 Unify toolbar and menu definition
- Use a unique definition
- Update states of both toolbar and menu
- Use a more logical order

issue5644
review30871002
2017-08-30 18:19:04 +02:00
Cédric Krier 178661a672 Add missing context when storing last_domain of selection
The last_domain should be composed of the domain and the context.

issue6710
review43401002
2017-08-28 18:29:25 +02:00
Cédric Krier 3a5f3134bc Mark tree states as done for view without tree_state attribute
set_tree_state can be called later with a different view_type and this should
not change the tree.

issue6473
review40591002
2017-08-28 18:27:37 +02:00
Cédric Krier 9efd937699 Move allow bower root to shell script to fix unmarshal error
issue6030
2017-08-19 12:26:40 +02:00
Cédric Krier e14fe29a5f Update to drone 0.8
issue6030
2017-08-19 12:19:09 +02:00
Cédric Krier 6d88ae0b5f Add readonly and required class on widget
issue6643
review39511002
2017-08-07 19:58:48 +02:00
Cédric Krier e860c66654 Allow to execute button on readonly record and group
issue6659
review35201003
2017-08-04 00:32:11 +02:00
Cédric Krier 7c242ba864 Let the widget put the focus in the right element in editable tree
The form widget has a focus method that put the focus on the right element, so
editable row should use it.

issue6686
review41491003
2017-08-02 23:10:02 +02:00
Cédric Krier 067597950b Edit cell only when setting focus for new record
Editable tree should not start edition when just focusing a row.

issue6614
review41491002
2017-08-02 23:08:24 +02:00
Cédric Krier 3f0478acd0 Display user name in revision list
Changeset d14760563431 wrongly changed the name variable by this.title.

issue6683
review39571002
2017-08-02 23:06:09 +02:00
Karla Stenger 88eacfdf79 Add login details in title
issue6598
review37551002
2017-07-29 19:53:08 -03:00
Cédric Krier 43687122a2 Manage zero as stored id
issue6653
review38481002
2017-07-26 23:37:20 +02:00
Cédric Krier 1f5038dd14 Use right form view in Many2One and WinSearch
The first view which is a tree must be removed from the view ids as mode of
the screen is form only.

issue6510
review35501002
2017-07-26 23:26:09 +02:00
Sergi Almacellas Abellana 02290bebe6 Don't remove false values from dict fields
issue6650
review35511002
2017-07-19 09:29:06 +02:00
Sergi Almacellas Abellana e21a03c1ce Use boolean value for searching translatable fields
issue6621
review34251002
2017-07-03 18:07:41 +02:00
Sergi Almacellas Abellana 281aff1647 Customize the csv separator depending on the platform
issue6553
review42401002
2017-06-27 10:04:58 +02:00
Sergi Almacellas Abellana 2e60aef7b0 Call parent event handlers when clicking an unselected button
Event handler must return true to ensure other event handlers are
called.

issue6522
review40381002
2017-06-09 10:41:58 +02:00
Sergi Almacellas Abellana 7ffa4f7b40 Don't dissable tab's action button
Otherwise is not possible to access button's actions when action is
empty

issue6521
review35001002
2017-06-01 09:20:49 +02:00
Cédric Krier 5a271e87af Set selection class only on th and td
issue6518
review37421002
2017-05-31 00:07:27 +02:00
Cédric Krier 52b8e38775 Use utoa instead of btoa to encode authorization session
btoa can not encode characters outside the 0x00 to 0xFF range.

issue6516
review34981002
2017-05-30 22:05:33 +02:00
Cédric Krier e46759c7a7 Synchronise context evaluation of act_window with tryton
Overtime, the code that evaluate act_window has diverged from the one in
tryton.

issue6513
review42361002
2017-05-22 18:09:48 +02:00
Xavier Codinas c8c89b7bda Use fullcalendar date instead of saving it in view
issue6456
review40291002
2017-05-19 11:56:14 +02:00
Cédric Krier 5cab69962e Increase version number 2017-05-01 19:35:44 +02:00
Cédric Krier 2e1f1e6613 Added tag 4.4.0 for changeset 1fea2b717dd8 2017-05-01 19:35:02 +02:00
Cédric Krier cd1dd4efaa Prepare release 4.4.0 2017-05-01 19:35:00 +02:00
Cédric Krier 641864b77e Update translations 2017-04-29 18:53:52 +02:00
Sergi Almacellas Abellana 02e3bb0056 Use group.length to test if group is empty
jQuery.isEmptyObject returns true if the object has any attribute, which is
the case of an empty group so it causes false positives

issue6478
review42281002
2017-04-28 15:01:47 +02:00
Sergi Almacellas Abellana 1298a6d891 Don't override deferred variable in screen save_current
The override caused the prm variable to be a promise instead of a
deferred. This will crash when trying to resolve the deferred in the
validate callback because it is not possible to resolve promise
objects.

issue6477
review36361002
2017-04-28 15:00:22 +02:00
Sergi Almacellas Abellana be2754ba40 Correctly set focus on filter form for Selection and Time fields
We can not rely on setting the focus on the entry as the selection and time
widgets store the input as separate element. So the focus must be set directly
to the input to guarantee that it works for all widgets.

issue6455
review34091002
2017-04-27 10:29:12 +02:00
Sergi Almacellas Abellana 809dbef789 Don't show warning dialog message as dialog title
issue6369
review30161002
2017-04-27 10:26:42 +02:00
Cédric Krier 376a67fd06 Skip validate only on constant readonly fields
A field can be readonly by the domain inversion in the validate method. So it
should be validated again in case its domain inversion change and reset it a
non-readonly.
So only field that are always readonly can be skipped for the validation.

issue6448
review38341002
2017-04-26 19:37:00 +02:00
Felipe Morato 58b82777c6 Mark 'Processing...' string as translatable
issue6452
review42261002
2017-04-21 10:16:30 +02:00
Cédric Krier 484695ff59 Do not really remove records that do not have parent
The parent test is redundant with the force_remove flag. So be removing this
test, we activate the remove/unremove feature on WinForm without parent.

issue6342
review30131002
2017-04-12 15:41:56 +02:00
Cédric Krier 0e8e6921c9 Add xgettext task to extract translatable messages
The task was lost by changeset 1e23c5d90e13

issue6414
review38291002
2017-04-10 23:21:54 +02:00
Sergi Almacellas Abellana c549a3aeb8 Manage help attribute on tree views
issue6333
review32111002
2017-03-31 09:37:30 +02:00
Sergi Almacellas Abellana 367242ab53 Manage color attribute on graph view
issue6341
review35281002
2017-03-30 14:57:53 +02:00
Cédric Krier b1db8a7ea6 Manage context domain on screen
issue5485
review27151002
2017-03-29 22:38:20 +02:00
Cédric Krier 16f37bd281 Use None as limit for xxx2Many and menu
The sort uses search_filter to retrieve the sorted ids list but this method use
the limit attribute of the screen. The xxx2Many values has no limit.

issue6363
review32161002
2017-03-23 23:05:01 +01:00
Sergi Almacellas Abellana 6ec37cd81f Copy context used for dashboard action
The context may be updated by the action, so it must be copied
in order to preserve it's original values

issue6336
review31151002
2017-03-16 14:08:38 +01:00
Sergi Almacellas Abellana e5e096bc1a Correctly instanciate DatePicker on Dict.Date field
issue6347
review33941002
2017-03-14 10:25:06 +01:00
Cédric Krier 31dc10e409 Move allow-root option to drone script
issue6295
review27141002
2017-03-13 20:40:59 +01:00
Cédric Krier a64d5557f5 Set default keyword for action triggered by button
issue6302
review32051002
2017-03-13 20:36:05 +01:00