Cédric Krier
1aa901c2bd
merge
2012-09-25 20:38:15 +02:00
Cédric Krier
6ad0d2ddc1
Fix readonly on richtext and encoding issue
...
review525002
2012-09-25 20:37:41 +02:00
Nicolas Évrard
5c6b4f72f5
prevent wizard screen reload when sensible_widget is the main window
...
review534002
2012-09-25 12:56:12 +02:00
Cédric Krier
3e47c94097
Active Record
2012-09-24 22:20:15 +02:00
Cédric Krier
36a18758c4
On enter and leave set value only for focused widget
...
Other widgets could be in a not valid state but we don't want to force to
resolve them on such event.
2012-09-24 16:45:58 +02:00
Cédric Krier
c274a39333
Reset text widget of Many2One when search is cancelled
...
This prevents to have enter event trigger an new search windows.
2012-09-24 16:27:15 +02:00
Cédric Krier
fbcda802f9
Check model access before creating new lines in editable tree
...
review531002
2012-09-24 11:32:43 +02:00
Nicolas Évrard
cd5deabed7
merge.
2012-09-21 15:52:16 +02:00
Nicolas Évrard
7be9c6205a
Fix deletion of readonly many2one
...
issue2781
review528002
2012-09-21 15:51:13 +02:00
Nicolas Évrard
02fa854b04
call WinSearch callback even when WinForm do not yield result
...
review529003
issue2782
2012-09-21 15:46:10 +02:00
Cédric Krier
28ea0c04d8
Improve edition dialog of Many2One
...
- Add button Cancel
- Rename button Ok into Save
issue2767
review503005
2012-09-21 14:57:05 +02:00
Cédric Krier
f33c875e36
Fix pep8 on jsonrpc
2012-09-20 18:01:46 +02:00
Cédric Krier
eba6376ff5
Don't switch markup to retrieve markup value
...
issue2769
review511003
2012-09-18 11:45:29 +02:00
Cédric Krier
1968eaeeaf
Fix closing tag in richtext box
...
review515002
2012-09-18 11:18:49 +02:00
Cédric Krier
04d62fe387
Remove trailing space in documentation of richtext editor
2012-09-11 15:43:06 +02:00
Cédric Krier
675464d1f2
Merge all kind of buttons
...
review484002
2012-09-10 15:28:32 +02:00
Cédric Krier
f9db8035b0
Use XML id for board action instead of id
...
review481002
2012-09-10 15:12:30 +02:00
Cédric Krier
ebc05451c7
Factorise state widgets and add states to notebook
...
review484004
2012-09-10 15:02:22 +02:00
Cédric Krier
33a1aab031
Remove display call after set_client
...
set_client emit record-change that is triggered by screen via group-changed to
call display on the view.
review501005
2012-09-10 13:29:00 +02:00
Cédric Krier
305e61b3f2
Force record-message signal after display of views
...
If it is done before the modified state of the view could not be accurate.
2012-09-10 13:28:19 +02:00
Cédric Krier
e60ee668ac
leave could be called during event process
2012-09-10 13:27:07 +02:00
Cédric Krier
4e0edda549
Replace Window.get_window_type by the property
...
Window.get_window_type is only available since PyGTK 2.22
issue2743
review501008
2012-09-10 13:24:02 +02:00
Cédric Krier
1628c14492
Standardize button accelerator in WinForm and WinSearch
...
The default button is always «OK» and «New» uses the default shortcut of
'<tryton>/Form/New'.
review489002
2012-09-04 12:16:11 +02:00
Cédric Krier
c622c6574f
Add active_model in evaluation context
...
review490002
2012-09-04 11:59:09 +02:00
Cédric Krier
6e69f40158
Call set_state on buttons in set_value
2012-09-03 18:02:33 +02:00
Cédric Krier
ac05a2d356
Set color to readonly when forcing readonly from group states
2012-09-03 13:14:56 +02:00
Cédric Krier
2db53b5253
Manage readonly state on group by setting children widget readonly
...
review486002
2012-09-03 10:00:13 +02:00
Cédric Krier
606f81f377
Simplify logging and add development mode
...
issue2034
review481003
2012-08-30 22:53:51 +02:00
Cédric Krier
b106871ba2
Fix missing on_change_with initialisation for non-grouped calls
...
issue2759
review481004
2012-08-25 15:42:53 +02:00
Cédric Krier
1c8271820b
on_change value of M2M must be a list of id
2012-08-17 10:46:36 +02:00
Cédric Krier
4a3c83a08c
Fix typo from bad merge
2012-08-16 17:43:54 +02:00
Cédric Krier
3b962518d3
Reload screen when ending wizard only if there are ids
2012-08-16 17:13:02 +02:00
Cédric Krier
a6fe51a6cc
Remove "Please wait" box and let just the watch cursor
...
review396002
2012-08-16 16:07:03 +02:00
Cédric Krier
91f314e0c8
Fix wrong sorting to get lazy first
...
review461001
2012-08-16 16:00:21 +02:00
Cédric Krier
64bcd922be
Don't reset rec_name if it is still the same
...
This could happen during the domain validation when only one value is possible.
review459001
2012-08-16 15:57:42 +02:00
Cédric Krier
a53a99ae37
Don't use Screen.save_current in button_clicked
...
Screen.save_current force the reload of the record before the call to the
Button RPC. So this could generate a race condition between the button call and
the reload of the record.
issue2739
review460001
2012-08-16 14:57:00 +02:00
Pierre-Louis Bonicoli
a094ab33c2
Use repr for faultCode in Fault.__repr__
...
issue2742
review467002
2012-08-14 17:52:52 +02:00
Cédric Krier
5f3fd4d64f
Fix gtk.Button state corruption
...
By default gtk.Button grab the focus on button-press, this can potentially
trigger a RPC request from by example a Many2One filled with search text. If
the request takes too much time, RPCProgress starts to process events and this
put the button in a corrupted state (it is displayed as pressed when mouse if
over).
To avoid, we set the value of the view when mouse move over a button or outside
the form.
review447001
2012-08-11 12:17:18 +02:00
Cédric Krier
c19e798e54
Use recursive get_on_change_value call for one2many
...
issue2727
review444001
2012-08-11 11:50:29 +02:00
Cédric Krier
1ae68b1c2f
Check if there is a model before checking model access
...
Reference field which inherits of Many2One could not have a model.
2012-08-09 21:47:16 +02:00
Cédric Krier
fd79d2d940
Fix search box for the new date widget
2012-08-02 16:06:24 +02:00
Cédric Krier
532ba3ede5
Refactorize date widgets
...
- Remove command label
- Move icon inside entry
- Manage popup in DateEntry
- Use increase/decrease shortcuts
review373001
2012-07-30 23:34:31 +02:00
Cédric Krier
6f9d3270c8
Activate TCP_NODELAY for jsonrpc
2012-07-28 18:13:04 +02:00
Cédric Krier
e61fcf42be
Manage tuple on Reference
...
review438001
2012-07-25 21:02:50 +02:00
Cédric Krier
29d9b6bace
Add constant interpolation on line graph
...
review417002
2012-07-25 20:35:33 +02:00
Cédric Krier
3aa20a56c6
Fix test on legend graph attribute
...
review421001
2012-07-25 20:31:56 +02:00
Cédric Krier
c34c8f5fd1
Refactore button sensitive setup
...
review430001
2012-07-19 15:03:01 +02:00
Cédric Krier
2986fe1214
get_toplevel_window should return only gtk.WINDOW_TOPLEVEL
...
issue2707
review410003
2012-07-19 09:45:58 +02:00
Cédric Krier
9a8430c385
Add missing initialization of readonly in Group
...
introduced in changeset fa91a01a8c79
2012-07-12 13:57:45 +02:00
Cédric Krier
a26dee81de
Delay the save of record and popup in treeview
...
The save and popup must be delayed because if it take too much time, the rpc
call will process events before the main event is finished.
issue2621
review412001
2012-07-10 13:09:27 +02:00