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
Cédric Krier
b07f9ee1cc
Let GenericText instantiate renderer for Selection
...
The GenericText connect the renderer to the send_keys callback which manage the
keypress event for editable tree. It will be lost if the Selection widget
override the renderer. GenericText was designed to allow to pass the renderer
class to instantiate so Selection widget should use this method.
issue5044
review15741002
2015-10-18 16:49:29 +02:00
Cédric Krier
072ba2ee3c
Remove custom drag-motion management
...
The GTK+ issue that needed this hack is fixed since 2.24.7
Also the hack did not manage the scroll nor the expand which is now managed by
GTK+ internals.
issue5026
review16671002
2015-10-15 00:53:32 +02:00
Cédric Krier
00e572d466
Set a textual value for Image cell
...
on_copy uses the textual value to fill the clipboard so the best textual value
for image is the size.
issue4918
review20441002
2015-10-10 17:48:57 +02:00
Cédric Krier
e1412d79b4
Make digits with None behaves like None digits
...
issue5019
review23501002
2015-10-08 19:41:04 +02:00
Cédric Krier
7d803387f3
Add missing create access when searching on Many2One in list view
...
issue4916
review22521002
2015-10-08 13:07:47 +02:00
Cédric Krier
6d3fa6fcbc
Use italic labels for editable fields
...
issue5008
review18641002
2015-10-05 11:14:46 +02:00
Cédric Krier
d8638c46cc
Escape '_' in button string
...
issue5012
review22491004
2015-10-05 11:08:37 +02:00
Cédric Krier
bb12565cf8
Fix time widget to display 00:00
...
time(0, 0) is evaluated to False so the test for None must be explicit
to set correctly 00:00.
issue4969
review22501002
2015-10-03 11:57:11 +02:00
Cédric Krier
2a0b090a32
Remove default (16, 2) digits
...
trytond doesn't enforce any digits if it is None,
so the client must do the same.
issue4742
review22491002
2015-10-03 11:54:48 +02:00
Cédric Krier
cfaab49c57
Manage readonly widget attribute in TreeView.next_column
...
issue4772
review21421002
2015-10-03 11:52:34 +02:00
Cédric Krier
a7f436ba2a
Use package_data instead of data_files
...
package_data must be used for data that are closely related to the package's
implemenation. This is the case of the pixmaps and the locale.
issue4983
review24421002
2015-10-03 11:45:10 +02:00
Cédric Krier
bcf150d76f
Export selected record only
...
This also allow to export records inside a tree.
issue4995
review16641002
2015-10-01 22:48:40 +02:00
Cédric Krier
9388fe80b2
Fix translation of timedelta separators
...
They must be unique per language and made of one char.
issue4988
review19481002
2015-10-01 17:07:55 +02:00
Cédric Krier
e659588c1c
Correctly manage message after save and copy
...
The success of the screen command should manage the display of the right
information message.
issue4697
review18601002
2015-09-25 18:04:41 +02:00