Commit Graph
3753 Commits
Author SHA1 Message Date
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
Cédric Krier e9f9dc5620 Remove unused code "_menu_sig_default_set" in selection widget
_menu_sig_default_set is no more used since changest 49e0a55d4af1
2014-02-23 15:44:56 +01:00
Cédric Krier 3980abf1e9 Remove unused code "click_and_*" in list view
click_and_relate and click_and_action are no more used since changeset
9c6c90a6111d.
2014-02-21 16:26:35 +01:00
Cédric Krier 6f5485bd1d Use a pool of connection
review3471002
2014-02-20 23:39:51 +01:00
Cédric Krier 51a815b31d Fix action button sensibility
Allow to run action if no record is selected.

issue3685
review3611003
2014-02-20 23:35:58 +01:00
Cédric Krier df6f7986d3 Many2Many edit should use his own screen instance
It must not trigger a grant parent reload.

issue3646
review3191003
2014-02-15 18:40:44 +01:00
Cédric Krier 25bea1594f Manage client actions from button and wizard
issue3343
review3241002
2014-02-15 18:24:25 +01:00
Cédric Krier 5a6c2fcd0e Missing one more removal of unused view cancel 2014-02-14 18:46:43 +01:00
Cédric Krier 5c01df4ef7 Missing removal of unused view cancel 2014-02-14 11:49:15 +01:00
Cédric Krier 4e8a8bd798 Remove unused view cancel 2014-02-14 00:25:48 +01:00
Cédric Krier 07fbed7309 Allow to close wizard if end state transition exists
issue3652
review3291002
2014-02-14 00:07:13 +01:00
Cédric Krier a7ebdba976 Fix domain inversion for xxx2many fields
issue3659
review3311002
2014-02-13 22:49:22 +01:00
Cédric Krier 8dbc5d2ddd Missing removal of early attribute clearing in destroy
This one was missing in changeset 894fb914ef79

review3441002
2014-02-13 11:41:39 +01:00
Cédric Krier 1c40bda218 Fix race condition when switching tabs fast
Since changeset 894fb914ef79, the set_cursor on form doesn't detect it was
closed and so the cursor widget is no more there.

review3401002
2014-02-13 11:41:10 +01:00
Cédric Krier 0cc0a80ae8 selected_records is on the screen, not the form
issue3671
2014-02-12 11:09:29 +01:00
Cédric Krier a63c30c30b Add buttons of the view in actions menu
review3011005
2014-02-11 19:40:41 +01:00
Cédric Krier d306e07621 Don't evaluate anymore relate action with the record
This enforce the usage of only active_mode, active_id and active_ids for relate
domain otherwise the behavior is not depend of the fields present on the view
and already loaded.

issue2474
review3271002
2014-02-11 18:13:04 +01:00
Cédric Krier 3f7ee21952 Search for sequence on all views of one2many
issue3642
review3201004
2014-02-10 22:24:21 +01:00
Cédric Krier efac3f6036 Remove early attribute clearing in destroy
Removing those attributes could lead to errors where in the code we expect to
have those attributes.
It is better to leave them and let the garbage collector detect them.

review3251002
2014-02-10 22:23:04 +01:00
Cédric Krier 74a333f61f Fix dynamic size for translate widget
Dynamic size was added in changeset 8ee7e142c8fd but the translate widget was
not updated.

review3271004
(transplanted from 1a9e84ba4d48a8e2ca2a98680e2bff1c66aa7791)
2014-02-09 23:57:24 +01:00
Cédric Krier 9cf5e60731 Fix dynamic size for translate widget
Dynamic size was added in changeset 8ee7e142c8fd but the translate widget was
not updated.

review3271004
(transplanted from 1a9e84ba4d48a8e2ca2a98680e2bff1c66aa7791)
2014-02-09 23:57:24 +01:00
Cédric Krier 3f36df524e Fix dynamic size for translate widget
Dynamic size was added in changeset 8ee7e142c8fd but the translate widget was
not updated.

review3271004
(transplanted from 1a9e84ba4d48a8e2ca2a98680e2bff1c66aa7791)
2014-02-09 23:57:24 +01:00
Cédric Krier a7ae4d4520 Fix dynamic size for translate widget
Dynamic size was added in changeset 8ee7e142c8fd but the translate widget was
not updated.

review3271004
2014-02-09 23:57:24 +01:00
Cédric Krier 21ab333979 Fix selection of column in next/previous
When _sign is negative, it doesn't select the first column but the second. So
despite of selection the wrong column, it could crash if there is only one
column in the view.

review3241004
(transplanted from f05cc122d3fd52141386f8097d0fc3989b85abd4)
2014-02-09 23:56:27 +01:00
Cédric Krier 96d2024b10 Fix selection of column in next/previous
When _sign is negative, it doesn't select the first column but the second. So
despite of selection the wrong column, it could crash if there is only one
column in the view.

review3241004
(transplanted from f05cc122d3fd52141386f8097d0fc3989b85abd4)
2014-02-09 23:56:27 +01:00
Cédric Krier 034beccaf2 Fix selection of column in next/previous
When _sign is negative, it doesn't select the first column but the second. So
despite of selection the wrong column, it could crash if there is only one
column in the view.

review3241004
(transplanted from f05cc122d3fd52141386f8097d0fc3989b85abd4)
2014-02-09 23:56:27 +01:00
Cédric Krier 2ad92c8ba2 Fix selection of column in next/previous
When _sign is negative, it doesn't select the first column but the second. So
despite of selection the wrong column, it could crash if there is only one
column in the view.

review3241004
2014-02-09 23:56:27 +01:00
Cédric Krier 8217924234 Don't set missing default value to False
False is not always a good valid value for the field, so it is better to let the
field dealing with default value.

issue3643
review3281002
(transplanted from 9a16381241f48ca880e7544edeef54c255c99255)
2014-02-09 23:54:56 +01:00
Cédric Krier 21a6c0f9d4 Don't set missing default value to False
False is not always a good valid value for the field, so it is better to let the
field dealing with default value.

issue3643
review3281002
(transplanted from 9a16381241f48ca880e7544edeef54c255c99255)
2014-02-09 23:54:56 +01:00
Cédric Krier 2b52f68882 Don't set missing default value to False
False is not always a good valid value for the field, so it is better to let the
field dealing with default value.

issue3643
review3281002
(transplanted from 9a16381241f48ca880e7544edeef54c255c99255)
2014-02-09 23:54:56 +01:00
Cédric Krier eb70c9fba5 Don't set missing default value to False
False is not always a good valid value for the field, so it is better to let the
field dealing with default value.

issue3643
review3281002
(transplanted from 9a16381241f48ca880e7544edeef54c255c99255)
2014-02-09 23:54:56 +01:00
Cédric Krier 34f9666bbd Don't set missing default value to False
False is not always a good valid value for the field, so it is better to let the
field dealing with default value.

issue3643
review3281002
2014-02-09 23:54:56 +01:00