Cédric Krier
65d365ef86
Force CellRendererToggle to not be activatable on non-editable tree
...
issue5305
review15991002
2016-02-07 16:12:26 +01:00
Cédric Krier
579b63ed1d
Manage readonly on MultiSelection
...
readonly is managed with a selection function that disable the change of the
selection.
issue5150
review18981002
2016-02-07 16:10:44 +01:00
Cédric Krier
71af3d2592
Restore shortcuts for menu
...
changeset 8f4025580772 broke the shortcut because the accel path were not in
sync with the accel_map.
issue5304
2016-02-04 01:01:06 +01:00
Cédric Krier
d6950d6298
Set note resource also to new records
...
issue5300
review18961002
2016-02-04 00:52:01 +01:00
Cédric Krier
3d8255a155
Add missing note icons
...
issue4669
2016-02-03 09:58:08 +01:00
Cédric Krier
29c5ee48c6
Add Note
...
issue4669
review9171002
2016-02-02 19:15:25 +01:00
Cédric Krier
9f16e1d1bc
Don't reset entry position at focus-out
...
Resetting position at focus-out prevent to use the popup menu of the Entry as
the selected text will be unselected by resetting the cursor position.
issue5279
review22751002
2016-02-02 19:11:38 +01:00
Cédric Krier
ac4fd973a5
Fix domain parser when value is an operator
...
issue5266
review22731002
2016-02-02 19:09:10 +01:00
Cédric Krier
2156ce79da
Set parent field only if signal is requested
...
When set_on_change adds a record, we don't need to trigger the parent
on_change, otherwise it can lead to an infinite loop.
issue5278
review17791002
2016-02-02 19:07:31 +01:00
Cédric Krier
0195584554
Set English as default language for NSIS
...
issue5272
review21621002
2016-02-02 19:05:12 +01:00
Cédric Krier
044cfffaf1
Test renderer to disable start_editing on Boolean
...
The focus_column._type can only be 'field', 'button' or 'fill'.
It is the renderer that must be tested to disable the start_editing.
issue5246
review15921002
2016-01-21 10:31:21 +01:00
Pablo Padulles
c3ee8e2dea
Disable new and save buttons when the user is not allowed to create new records
...
The revision update should not overrule the model access.
issue4902
review24611002
2016-01-21 10:23:12 +01:00
Cédric Krier
6ef13d27c0
Test time is None to display empty value in tree
...
issue5230
review15901002
2016-01-13 21:13:27 +01:00
Cédric Krier
d2ab349bb5
Detect time-changed on Time widget in Form
...
The Time widget must connect to time-changed like the other comboboxes (Char,
Selection) to call focus_out when it changes.
issue5231
review19731002
2016-01-13 21:12:12 +01:00
Cédric Krier
ec99c9a75c
Time and TimeDelta check_required must test against None
...
datetime.time(0) and datetime.timedelta() are considered as False by Python.
issue5229
review22701002
2016-01-13 21:10:55 +01:00
Cédric Krier
9c2b09c50b
Use right method name to inherit start-editing on CellRenderer Float/Integer
...
Since changeset c77863df6c24, the renderer inherits implicitly of
gtk.CellRendererText instead of gtk.GenericCellRenderer
issue5234
review17731002
2016-01-13 21:08:33 +01:00
Cédric Krier
58ccee867c
Use result of atof to validate digits
...
As atof can have some weird side effect, it is better to use this value to
validate the digits because it is this value that will be stored.
issue5100
review17721002
2016-01-13 21:07:26 +01:00
Cédric Krier
69b9d5e3b1
Missing self parameter in call of gtk.CellRendererToggle.do_start_editing
2016-01-10 23:07:33 +01:00
Cédric Krier
d913ccd274
Remove last_open_file from tree binary widget
...
Following the same design as changeset 87806105f07d, last_open_file must be
removed and new is renamed into select.
issue5209
review23701002
2015-12-31 14:18:22 +01:00
Cédric Krier
d07b1f1d3d
Remove sign change of new record created by on_change
...
It is wrong to generate fake real id because it can break data integrity in
case the fake id already exists in the database.
issue5194
review22671002
2015-12-31 13:40:43 +01:00
Cédric Krier
7d0f283af3
Don't call synchronously set_client in completion match selected
...
Because it generates inside the callback a call to display which reset the
completion. GTK on win32 doesn't like that and crash with a segmentation fault.
issue5171
review16901003
2015-12-27 20:11:22 +01:00
Cédric Krier
631f8271dd
Also test column visibility in next_colum
...
issue5192
review15851002
2015-12-27 20:09:11 +01:00
Cédric Krier
e7ef43d9c0
Catch TypeError when evaluating leaf in domain inversion
...
Some values are comparable for Python but valid for Tryton domain like the
datetime.* and None.
issue5163
review16881003
2015-12-13 14:55:12 +01:00
Cédric Krier
c9572763e1
Use the new roundup URL to prevent server redirection
2015-12-01 16:21:28 +01:00
Karla Stenger
a7e434434e
Remove space before punctuation
...
issue5080
review16821002
2015-11-15 18:07:37 -03:00
Cédric Krier
0ac7e587e6
Manage view_ids on tree view
...
issue5052
review15771003
2015-11-10 12:59:55 +01:00
Cédric Krier
436c31aad7
Manage exclude_field on many2one from list view
...
issue5051
review22551002
2015-11-10 12:47:28 +01:00
Cédric Krier
8ebaad2cb5
Fix compute exponent when value is int and factor Decimal
...
Some Numeric Function field return integer instead of Decimal, so the test to
convert to Decimal should be on the result of the factor multiplication instead
of the value.
issue5106
review16791003
2015-11-07 15:59:14 +01:00
Cédric Krier
9092ead1fa
Use set_default_size instead of set_size_request for Window
...
This allows the user to resize the window to a smaller size.
issue5045
review15741003
2015-11-05 23:31:37 +01:00
Cédric Krier
c13ba9afa9
IOError doesn't have faultCode attribute
...
It is easier to just format the exception.
issue5101
review15801002
2015-11-05 23:03:36 +01:00
Cédric Krier
ed7ce05f1e
Manage copy/paste on darwin
...
The control mask on darwin for copy/paste should be MOD2 instead of CONTROL.
issue5022
review18671002
2015-11-03 12:15:01 +01:00
Cédric Krier
7b91ab8575
Fix compute of exponent with Decimal value
...
repr of Decimal is not a valid string for Decimal.
issue5097
review16781002
2015-11-02 18:40:21 +01:00
Cédric Krier
887ebe5517
Increase version number
2015-11-02 15:51:27 +01:00
Cédric Krier
0a4a483c19
Added tag 3.8.0 for changeset f4b9c8a84cf6
2015-11-02 15:50:34 +01:00
Cédric Krier
987592605b
Prepare release 3.8.0
2015-11-02 15:50:32 +01:00
Cédric Krier
4691b3a1ff
Use repr of float to compute exponent to format float
...
str can lead to a rounding.
issue5097
review24581002
2015-11-02 12:59:09 +01:00
Cédric Krier
02bb8ca760
Always synchronise One2Many screen attributes
...
The readonly, domain and size should always be set on display even if the group
did not changed.
issue5094
review24561002
2015-11-02 11:30:34 +01:00
Cédric Krier
5274805fa2
Re-apply fix of translation of timedelta separators from issue4988
...
Pootle was not updated with the fix.
2015-11-01 21:15:38 +01:00
Cédric Krier
9293c24341
No more distribute po template
...
as it is managed in Pootle
2015-10-31 11:21:09 +01:00
Cédric Krier
4c754cfff4
Update translations
2015-10-31 11:01:47 +01:00
Cédric Krier
1797e703d4
Set Binary filename widget readonly
...
issue5089
review23621002
2015-10-31 10:48:06 +01:00
Cédric Krier
a7c0b842cf
Add missing default selected_records property on View
...
changeset 0535f5cf7e00 did not moved this property from interface.py to
__init__.py
issue5078
review23601002
2015-10-30 12:49:30 +01:00
Roberto Vasconcelos Novaes
a2c18b939d
Added portuguese.nsh file
...
issue5070
2015-10-27 08:13:52 -02:00
Cédric Krier
729927b7bc
Escape '_' in page string
...
issue5012
review21511002
2015-10-27 09:54:43 +01:00
Cédric Krier
aee565cad9
Remove unused button attribute from Char widget
...
since changeset 89af0b300c3f, this button attribute is no more used.
2015-10-25 09:57:16 +01:00
Cédric Krier
7100c5737b
Use Record.cancel instead of clearing _loaded
...
Since changeset e42ace87b0e7, the timestamp must be cleared if we reload the
record.
issue5065
review17611002
2015-10-23 23:51:41 +02:00
Cédric Krier
028e2af772
Block editing done handler on completion action in treeview
...
The completion action popup window which trigger the editing_done event for
which the handler also popup a window. This second window must be prevented as
we are still editing the first one.
issue5061
review22571002
2015-10-23 23:50:18 +02:00
Cédric Krier
4dc63af59f
Compute precision also on number without digits
...
The %s format type even inside locale doesn't produce a localized string.
So we must determine the precision of the value to format instead of relying on
the %s.
issue5062
review23591002
2015-10-22 18:16:26 +02:00
Cédric Krier
599612cf2e
Fix reload on board view
...
It is the actions that must be displayed when reloading the board.
issue5060
review16761002
2015-10-21 18:02:31 +02:00
Cédric Krier
aba3e13833
Always keep the oldest timestamp
...
The optimistic lock should be checked with the oldest timestamp to be safer.
issue2687
review23561002
2015-10-18 16:53:03 +02:00