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
Cédric Krier
b5efb16bad
Improve leaving callback by validating field and managing next/previous
...
issue2668
review408002
2012-06-28 15:22:17 +02:00
Cédric Krier
2c0308bb0c
Make Import/Export Data no-modal
...
issue2666
review410001
2012-06-28 15:16:23 +02:00
Cédric Krier
909e171e18
Fix text replacement on Many2One
...
issue2622
review409001
2012-06-28 15:13:45 +02:00
Cédric Krier
373db1d1f5
set_value of M2O must simulate a focus-out in case it did not yet occur
...
issue2624
review408001
2012-06-28 15:11:17 +02:00
Cédric Krier
d9bfcada63
Deactivate switch view button when there is only 1 view
...
review400002
2012-06-28 14:58:16 +02:00
Cédric Krier
3022d432d4
Always set current_record when displaying screen
...
review399001
2012-06-28 14:54:45 +02:00
Cédric Krier
3ea38bbc2b
Manage create/delete field access
...
review389003
2012-06-28 14:49:00 +02:00
Cédric Krier
802b7786f4
Manage focus out event when adding in O2M
...
issue2640
review404002
2012-06-22 17:58:23 +02:00
Cédric Krier
62b20537d8
Reset rec_name when setting just id of M2O or Reference
...
issue2641
review406001
2012-06-22 17:56:23 +02:00
Cédric Krier
8e5f7b4fb3
Fix name of fields loaded from predefined export
...
issue2648
review404001
2012-06-22 17:53:35 +02:00
Cédric Krier
1668afd397
Don't reload records when sorting if there are unsaved records
...
issue2664
review403001
2012-06-22 17:51:38 +02:00