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
Cédric Krier
8290aca548
Use HTML for RichText widget
...
issue4962
review20381002
2015-09-25 17:55:01 +02:00
Cédric Krier
ddbde7cdaf
Correctly set xxx2many modified by on_change
...
set_on_change should not trigger any signal but it should register
the field as modified.
issue4968
review20391002
2015-09-24 22:51:13 +02:00
Cédric Krier
8bd9720e2a
Fix localize_domain to strip 4th element only for Reference field
...
The 4th element should only be removed is the localized field is a Reference
field otherwise it must be kept.
issue4975
review24401002
2015-09-22 22:53:35 +02:00
Cédric Krier
6848037a3f
Don't hide column with unique value in tree view
...
The domain doesn't apply to the children of a tree view, so the unique value is
only unique at the top-level.
issue4973
review24391002
2015-09-22 09:31:34 +02:00
Cédric Krier
43dda96085
Use right values for Progressbar widgets
...
Use internal value as fraction/value and use the client value to display the
percentage.
issue4974
review17511002
2015-09-19 18:15:38 +02:00
Cédric Krier
9e83f8eeed
Center column titles
...
issue4963
review21381003
2015-09-16 18:16:23 +02:00
Cédric Krier
6c8004536a
Add support for invisible progressbar in tree view
...
issue4952
review19451002
2015-09-16 18:03:48 +02:00
Cédric Krier
376aa61375
Remove custom support of visible on CellRenderer
...
gtk.CellRenderer supports this property since pygtk 2.22
issue4953
review22411002
2015-09-16 18:02:37 +02:00
Cédric Krier
9bce0ea081
Popup invalid message for button pre-validation
...
issue4930
review24341002
2015-09-13 00:22:17 +02:00
Cédric Krier
6a9a2ba04d
Missing change list Progressbar to work with float between 0 and 1
...
issue4929
2015-09-07 23:59:40 +02:00
Cédric Krier
79a68bc927
Add Hungarian
...
issue4874
2015-09-02 14:06:08 +02:00
Cédric Krier
ae520344dc
Change Progressbar to work with float between 0 and 1
...
issue4929
review16561002
2015-08-28 10:57:15 +02:00
Cédric Krier
c071f0b338
Add Fast Tabbing option
...
This option allows to disable the behaviour of skipping readonly fields for
tabbing navigation and thus makes them accessible.
issue4910
review19381002
2015-08-25 17:51:00 +02:00
David Harper
52adfda63e
TreeStore of import and export does not need colour anymore
...
changeset 37b76806c878 removed the colour on the trees.
issue4927
review20361002
2015-08-22 08:47:32 +02:00
Cédric Krier
ddda520ebd
Refactor Binary and Image form widget
...
Move shared code from both in a Mixin class
review21351002
2015-08-21 15:36:11 +02:00
Cédric Krier
7ec8672961
Use PopdownMixin methods to set value on Reference widget
...
issue4898
review23341002
2015-08-14 18:15:20 +02:00
Cédric Krier
03800b5116
Fix wrong super method name 'on_start_editing' for CellRendererTextCompletion
...
changeset c77863df6c24 changed the method to 'do_start_editing'
2015-08-11 11:27:33 +02:00
Cédric Krier
ba39e36699
Fix fall-back date format
...
The date_format must come from screen context as fall-back.
The date_format must be set on all actions context
issue4892
review19351002
2015-08-10 11:10:17 +02:00
Cédric Krier
f95677d1ad
Fix TypeError during min/max computation in Graph
...
If the field is a datetime, a date or a timedelta but the value if None, it
could be compared to an existing instance and so raise a TypeError.
So the min/max value must be set with a correct value and TypeError must be
catched if the record value is None.
issue4888
review16501002
2015-08-10 11:07:08 +02:00
Cédric Krier
a402de9ad3
Don't set_current_folder on FileChooser
...
This is no more considered as a good policy.
issue4872
review23321002
2015-07-28 08:03:19 +02:00
Cédric Krier
e9274ff748
Use a domain_parser for the current view and instanciate it on demand
...
issue4773
review16491002
2015-07-28 07:49:43 +02:00
Cédric Krier
d0695f2fc5
opt-in for Mac integration
...
The Mac integration is not fully stable for now.
issue4595
review19341002
2015-07-28 07:48:08 +02:00
Cédric Krier
7db7a67ec7
Decode windows HOME using the file system encoding
...
GTK requires to have string encoded in utf-8.
issue4870
review16471002
2015-07-28 07:43:27 +02:00
Cédric Krier
3ecb999739
Check if field is loaded before adding its timestamp
...
issue4876
review20331003
2015-07-28 07:41:48 +02:00
Cédric Krier
c5c084faee
Don't decode file name from get_preview_filename
...
The file name received from get_preview_filename is already encoded in utf-8.
issue4871
review8251002
2015-07-28 07:40:44 +02:00
Cédric Krier
10c271ed4e
Fix reverse typo when setting mnemonic widget of DBCreate
...
Introduced in changeset 815fc36eeeff
issue4883
2015-07-20 17:56:07 +07:00
Cédric Krier
4e57f9c341
Add mnemonic widget to label
...
and set ATK name for widgets without label
issue3180
review8231002
2015-07-17 21:54:30 +02:00
Cédric Krier
688b8d15f9
Add missing test on field in set_column_widget
...
Field can be None when adding a column for a button
Introduced in changeset 37b76806c878
issue4882
2015-07-17 15:12:42 +02:00
Cédric Krier
69d5b47868
Inherit from standard cellrenderer when possible
...
issue3463
review15511002
2015-07-16 22:53:05 +02:00
Cédric Krier
93a687838d
Remove colors on widgets
...
- Bold label of required fields
- Explicit error message for invalid record
issue4861
review18391002
2015-07-16 22:35:31 +02:00
Cédric Krier
701770dbdd
Add selection shortcuts to reference widget
...
issue4860
review21291002
2015-07-16 01:10:24 +02:00
Cédric Krier
8779eed1fb
Add Italian
2015-07-09 15:46:01 +02:00
Cédric Krier
a02057498a
Remove custom keyboard shortcuts on treeview
...
and add standard shortcuts in the help.
issue4830
review20291002
2015-07-09 15:35:33 +02:00
Cédric Krier
8ef832a324
Add support of TimeDelta to DomainParser
...
issue4851
review20321002
2015-07-09 15:30:52 +02:00
Nicolas Évrard
60f3b96e7e
Add reversed operators to PYSON expressions
...
review15551002
issue4856
2015-07-07 12:50:23 +02:00
Cédric Krier
942fb73dae
Remove Tabs Position documenation
...
issue1014
2015-07-07 12:38:40 +02:00
Cédric Krier
ed35f685ab
Use InfoBar for better accessibility
...
Also it adds an invalid form message on wizard and window form, and remove
exclamation mark from the message.
issue3465
review13001002
2015-07-03 19:34:44 +02:00
Cédric Krier
84908e5d9c
Call activate on Date, Time cell before getting value
...
The focus-out event is not yet triggered when editing is done which result of
the content of the cell not yet being parsed. So the parsing must be forced by
calling activate.
issue4826
review18341002
2015-07-01 12:18:17 +02:00
David Harper
4dacb4abe0
Fix set_client of new datetime from editable tree
...
issue4850
review20311002
2015-07-01 12:17:02 +02:00
Cédric Krier
e3bdd3781c
Display date and microsecond in logs
...
create and write dates should be formatted the same way as the revisions.
issue4808
review18351002
2015-07-01 12:15:53 +02:00
Cédric Krier
216759da32
Fix behaviour of TreeModel when record is None
...
issue4831
review16381002
2015-06-28 19:36:42 +02:00
Cédric Krier
bb72d62ee2
Add Portuguese Brazil and Spanish Mexico
2015-06-22 22:50:14 +02:00
Cédric Krier
d814c6eac6
Remove wrong Slovak classifier
2015-06-22 22:49:54 +02:00