Commit Graph
3784 Commits
Author SHA1 Message Date
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
Cédric Krier 32ff052cf6 Fix typo in record-modified callback
introduced in changeset 2345962d81ec
2014-03-07 11:46:43 +01:00
Nicolas Évrard 46359cf1b5 Add edit action on the M2O right click popup
review3531003
issue3644
2014-03-06 17:54:22 +01:00
Nicolas Évrard 78b9399302 merge. 2014-03-06 17:36:08 +01:00
Nicolas Évrard ed02e079be Correctly get ids of selected records
review3941002
issue3720
2014-03-06 17:35:35 +01:00
Nicolas Évrard b2d08bde09 ensure idle_add callbacks are using alive gtk objects
issue3719
review3931002
2014-03-06 15:07:46 +01:00
Cédric Krier 2c85f19799 Don't change group value when it is not needed
The group of xxx2many must only be changed for set and set_default. Other
methods should keep the removed/deleted records but as the older group was
destroyed this information is lost.

issue3724
review3971002
2014-03-04 11:49:11 +01:00
Cédric Krier c74d0ef859 Always use internal value to match selection
The widget must only rely on the active element instead of searching on the
string values which could not be unique.

issue3698
review3711002
2014-03-04 11:45:38 +01:00
Cédric Krier 4ca7d9b11a Use explicit callback instead of implicit gtk main iteration in rpc calls
The implicit gtk main iteration leads to bad ordered processing of events. So as
explicit is better than implicit, rpc calls that don't need to block until the
result use a callback.

review3461002
2014-03-04 11:44:06 +01:00
Cédric Krier ba78ccbaf4 null merge from 3.0 2014-03-02 21:56:22 +01:00
Cédric Krier 90964ec014 null merge from 2.8 2014-03-02 21:56:08 +01:00
Cédric Krier d6a9ff2ec6 null merge from 2.6 2014-03-02 21:55:51 +01:00
Cédric Krier eb2a88bae6 null merge from 2.4 2014-03-02 21:55:34 +01:00
Cédric Krier ed735ceeb1 null merge from 2.2 2014-03-02 21:55:16 +01:00
Cédric Krier 7599cb296b null merge from 2.0 2014-03-02 21:54:55 +01:00
Cédric Krier 7c7fd75924 null merge from 1.8 2014-03-02 21:54:29 +01:00
Cédric Krier e814924e49 null merge from 1.6 2014-03-02 21:54:06 +01:00
Cédric Krier 8cf54c20bf null merge from 1.4 2014-03-02 21:53:34 +01:00
Cédric Krier 4a80548dde null merge from 1.2 2014-03-02 21:53:13 +01:00
Cédric Krier 521d97f66c null merge from 1.0 2014-03-02 21:52:45 +01:00
Sergi Almacellas Abellana 09f1dbfa77 Pass the action which is calling a wizard or a report
issue3675
review3481003
2014-02-28 20:38:47 +01:00
Cédric Krier 7daeef687d button press use the wrong record to popup the menu
issue3702
review3691004
2014-02-27 12:43:13 +01:00
Cédric Krier c42bf12c09 Fix completion test for Reference field
The test must use only the id and should also allow negative id.

issue3700
review3691003
2014-02-27 12:41:39 +01:00
Cédric Krier c6f380ce17 Add Len to PYSON
issue3692
review3671002
2014-02-27 12:37:47 +01:00