Commit Graph
4124 Commits
Author SHA1 Message Date
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
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