Commit Graph
3807 Commits
Author SHA1 Message Date
Cédric Krier 3bf9df347b Prevent D&D if the treeview is editing
issue3753
review4861002
2014-04-16 14:27:42 +02:00
Venceslav Vezjak 777f904d07 Update sl_SI translation 2014-04-13 19:13:32 +02:00
Cédric Krier fcf8bef237 get_preferences should not use the global context
issue3837
review5031002
2014-04-12 23:40:54 +02:00
Cédric Krier 93109996c5 Sort child screen as unsaved records
Child screen could contains records added using the add_remove of one2many and
so those records must be managed as unsaved.

issue3835
review5001002
2014-04-12 23:34:08 +02:00
Cédric Krier 10c08b4ce5 Make button reload all parents
issue3815
review4841002
2014-04-10 22:29:03 +02:00
Cédric Krier 4dd7885ee9 Ensure ViewSearch.searches has always the right type
issue3828
review4941002
2014-04-10 22:26:36 +02:00
Cédric Krier 128003b64e Fix invalid inversion domain to use None instead of False
issue3681
review4891004
2014-04-07 18:24:29 +02:00
Cédric Krier f5830961f2 Let cancel button of window form for reaonly screen
issue3826
review4891002
2014-04-07 18:21:11 +02:00
Cédric Krier 45a4f91da4 Validate field on simplified domain
issue3823
review4871003
2014-04-07 18:12:14 +02:00
Oscar Alvarez 907ec15920 Tryton client es_CO translation 2014-04-02 23:07:55 -05:00
Cédric Krier 6bb25696b8 Don't update completion if entry is no more displayed 2014-04-01 12:58:31 +02:00
Cédric Krier 8c1350de77 Fix uninitialized focus_widget case in Form.set_cursor 2014-04-01 12:56:23 +02:00
Cédric Krier 436667a725 Set value for constraining domain of non-relation field
The validation method should also set value for the local domain like it does
for the inverted.

issue3794
review4641002
2014-03-31 19:02:41 +02:00
Cédric Krier d30ee1385e Fix Form set_cursor when cursor widget doesn't exist
issue3798
review4711002
2014-03-28 20:09:35 +01:00
Cédric Krier e30c625fc4 Force Dict client value to be dict
The Dict widget requires that get_client returns a dict.

issue3796
review4671002
2014-03-28 20:08:25 +01:00
Cédric Krier 7c408b424a Fix set_client of date and time field to convert datetime
issue3795
review4651002
2014-03-28 20:07:22 +01:00
Cédric Krier 5bbf568e73 Enforce readonly on WinForm
issue3778
review4511002
2014-03-28 20:02:24 +01:00
Cédric Krier 4a06e01d9c Prevent excessive call to save_tree_state
issue3784
review4611003
2014-03-24 16:00:23 +01:00
Cédric Krier 5176de788d Fix domain parser for empty selection
issue3785
review4591003
2014-03-24 15:57:58 +01:00
Cédric Krier 22f4d071b2 Use default value as fallback instead of None for Time field 2014-03-24 15:54:32 +01:00
Cédric Krier 6c444e2345 Force value also in Reference field set
review4611002
2014-03-24 15:54:04 +01:00
Cédric Krier 0bb0130c34 Fix Reference field with domain
issue3783
review4611002
2014-03-24 15:53:11 +01:00
Cédric Krier 3717e084d8 Don't let default value override existing value
issue3782
review4581002
2014-03-24 15:47:06 +01:00
Cédric Krier 3d860cf7d0 Replace sel_ids_get by selected_records
Since changeset 24009ca96e78, sel_ids_get was removed to replaced by
selected_records.

issue3790
2014-03-23 15:29:21 +01:00
Cédric Krier e3fb818110 Fix set_client of datetime fields to not fail with None value
Since changeset 850084d29b4c, the widget could use None as value to set.

issue3789
2014-03-23 15:19:43 +01:00
Cédric Krier 0ad03d7efe Use callback when activate global_search
When activating the global search, we should wait the RPC call before popping
the no result message.

issue3780
review4561002
2014-03-21 23:49:34 +01:00
Cédric Krier c185c83426 Fix set_value of Calendar widget
When saving record with focus on calendar widget (which was changed but without
final proper value), the calendar set it to empty instead of trying to complete
the date.

issue3779
review4551002
2014-03-21 23:47:29 +01:00
Cédric Krier fb68122980 End wizard without closing the dialog
issue3771
review4391002
2014-03-21 23:44:59 +01:00
Cédric Krier 5565843603 Don't set cursor when displaying widget and correctly manage selection in list view
When clicking on new, a new record instance is set as current_record and display
is called. But as the changeset ff6dc4d5bff6 adds a call to display with
set_cursor, it triggers the focus out of the widget having the cursor which
could set the value of the previous record to the new record if the widget was
not yet displayed.
So display on widget should never set the cursor but indeed it is the display of
the list view that must set the correct selection when the store is changed.

issue3757
review4481002
2014-03-21 12:20:05 +01:00
Sergi Almacellas Abellana 492bf98139 Add reload menu and reload context to client actions
issue3740
review4221002
2014-03-19 23:32:08 +01:00
Cédric Krier 086b4ae1ae Add option to show revisions
issue3678
review3501003
2014-03-18 19:55:29 +01:00
Cédric Krier 61b815d787 import_data raises exception
issue3767
review4451002
2014-03-18 19:52:44 +01:00
Cédric Krier 53e8a1dabe Test if exposed before using computed values in motion
In some cases, motion event is triggered before expose.
So motion method should take care of such case.

issue3755
review4301002
2014-03-17 18:54:47 +01:00
Cédric Krier f30cf99bd0 Process exception without callback
process_exception doesn't always call rpc_execute so as the callback is not
always called, it should be called from RPCProgress.

issue3762
review4381002
2014-03-17 18:53:24 +01:00
Nicolas Évrard 3ffbf5edce Add multiselection widget for many2many
review3151003
issue3634
2014-03-16 21:14:43 +01:00
Nicolas Évrard d04b101539 Add index to one2many's on_change add
review2061003
issue3539
2014-03-16 21:01:02 +01:00
Cédric Krier 8e953d7cb7 Fix selecting current_record on first display of a list
issue3757
review4311002
2014-03-15 10:55:25 +01:00
Cédric Krier ce5d9ce9ad Remove auto-refresh
issue3752
review4221003
2014-03-15 10:51:50 +01:00
Cédric Krier 5496f8ff4b Add support of domain for non-relation field
issue3743
review4191002
2014-03-15 10:46:10 +01:00
Cédric Krier 7710ce2c61 Manage microseconds in JSON-RPC
review3501003
2014-03-15 10:38:44 +01:00
Cédric Krier ca0023f8af Fix name collision between PopdownMixin and Reference widget
get_model is already used in Reference widget inherited from the Many2One
widget. So it is renamed into get_popdown_model.
2014-03-12 15:18:06 +01:00
Cédric Krier fee62b0a07 Fix inheritance of fields for group inside a tree
issue3754
review4291002
2014-03-12 10:13:42 +01:00
Cédric Krier ce7b1598c7 Force focus_out when ComboBoxEntry changed
The value must be set also when new item is selection because the focus-out and
activate event doesn't catch all cases for example, when using only the mouse.

issue3698
review4281003
2014-03-11 20:04:28 +01:00
Cédric Krier 168d914bdf Fix running underlying actions from wizard
Since ending wizard is asynchronous, the processing of actions must be run in
the ending callback.

issue3745
review4211002
2014-03-10 20:28:12 +01:00
Cédric Krier 2ad9a6812e Allow overflow of titles
The length of the title should not constraint the minimal size of the window.

issue3742
review4171002
2014-03-10 20:25:28 +01:00
Cédric Krier 6f199d1948 scroll to cell when setting cursor in editable treeview
issue3737
review4111002
2014-03-10 20:19:50 +01:00
Nicolas Évrard 7f9227ea56 Add drag&drop on the attachment button
review2231002
2014-03-09 18:11:00 +01:00
Cédric Krier 91bb7c299a Fix instance test in init_selection
key could be empty but still the call must be for an instance.

issue3728
review4001002
2014-03-08 13:23:57 +01:00
Cédric Krier 35902d79ff Improve setup.py to allow dev publication
issue3436
issue1891
review3941004
2014-03-08 12:59:24 +01:00
Cédric Krier fca8f6a6cf Replace sha widget by password
issue3713
review3821002
2014-03-07 19:38:42 +01:00