Commit Graph
3935 Commits
Author SHA1 Message Date
Cédric Krier 4201524b8b Replace img_{width,height} by width and height attributes
issue4266
review10561002
2014-10-23 20:57:50 +02:00
Cédric Krier d39bfa8906 Show 'Translate view' plugin to granted users only
Only users with read and write access on translation should have access to the
plugin.

issue4250
review13611002
2014-10-23 20:31:03 +02:00
Cédric Krier 5b2fda3e81 data2pixbuf fails if data is None
because len is called on data

issue4265
review13631002
2014-10-21 22:02:21 +02:00
Cédric Krier a89ffa343d py2app doesn't have site.USER_BASE
issue4269
review14591003
2014-10-21 22:01:23 +02:00
Cédric Krier bed84d8c2e Increase version number 2014-10-20 14:31:29 +02:00
Cédric Krier 2678fd07f0 Added tag 3.4.0 for changeset 8e5cba59137f 2014-10-20 14:30:59 +02:00
Cédric Krier e538f8be62 Prepare release 3.4.0 2014-10-20 14:30:58 +02:00
Cédric Krier 6cbc14bf3d Clean translations 2014-10-19 13:51:25 +02:00
Cédric Krier 0ffed1a139 Do not call (de)iconify in sig_window_state
issue4226
review12611002
2014-10-18 09:23:53 +02:00
Cédric Krier fa5962daac Don't deactivate save button for new record in WinForm
The save button is deactivated if the record is not modified but in case of new
record, it could be saved by a button on the form and so we still need to OK
the popup to get back the new records.

issue4254
review6601002
2014-10-18 09:15:22 +02:00
Bruno M. Villasanti 988260d8f3 Update translation for es_AR 2014-10-17 15:56:07 -03:00
Jordi Esteve 5106d12863 Update es_ES translation 2014-10-17 17:34:56 +02:00
Albert Cervera i Areny 4338ec555b Update Catalan translation. 2014-10-17 14:57:29 +02:00
Mathias Behrle 77a02c045e Update translation for de_DE 2014-10-16 22:49:55 +02:00
Cédric Krier 670522d6cd Update fr_FR translation
review6591002
2014-10-16 15:56:34 +02:00
Venceslav Vezjak 9d2e85cfc3 Update sl_SI translation 2014-10-16 09:49:34 +02:00
Oscar Alvarez 83fd67793a Update Tryton es_CO translation 2014-10-14 22:37:52 -05:00
Cédric Krier d3b6a664de domain_parser must escape when quoting '"'
issue4247
review11571002
2014-10-14 15:21:53 +02:00
Cédric Krier bcd57a5ab2 Added search for pixmaps in site.USER_BASE
thanks to notzippy

issue4102
review12541002
2014-10-10 10:14:18 +02:00
Cédric Krier c7472b5636 Add missing "Show revisions" and remove old "Go to" in doc
review8621002
2014-10-10 10:07:57 +02:00
Cédric Krier 6df542f08d Don't restore text on many2one cleaning if not empty
The call to set_client in clean function could trigger a on_change that will
set a value to the current field. In such case, the previous text should not be
restored.

issue4238
review5701002
2014-10-10 10:05:09 +02:00
Cédric Krier f095bb4eb6 Prevent too old revision in form view
issue4211
review11551002
2014-10-10 09:59:37 +02:00
Cédric Krier c09a12e02f Empty dict value should always be an empty dictionary
The client should not detect as changed a Dict field with None as value.

issue4231
review11531002
2014-10-06 22:29:46 +02:00
Fabian Calle a60fb08437 Tryton client es_EC translation 2014-10-01 09:23:09 -05:00
Cédric Krier 5023c4ca68 Use field domain also to search key for displaying
Searching the key for displaying should also use the field domain otherwise it
could use the wrong key definition to display the value because there are not
garantee to have a unicity for the name of the key.

issue4199
review13541002
2014-09-30 09:41:59 +02:00
Cédric Krier d6d9af04bc Don't add line if key is missing when displaying dict widget
issue4208
review5671002
2014-09-30 09:41:02 +02:00
Cédric Krier 772c703a8d Update wizard button after setting record values
record-modified is not triggered when setting value via default.

issue4202
review7611002
2014-09-30 09:39:22 +02:00
Cédric Krier 8c3f22a509 Use floor division to order widget for focus
GTK internally use gint to make such computation, so to mimick it correctly we
must use a floor division.
2014-09-23 17:49:25 +02:00
Cédric Krier 985de6612e Don't set adjustment value outside the range
If adjustement value is set to a value outside the range, GTK can no more
compute the visible range.

issue4075
review8561002
2014-09-21 12:29:36 +02:00
Cédric Krier 7d3197afe2 Factorize parsing of hostname and port
and remove wrong constraint on database name.

issue2911
review13521002
2014-09-21 12:25:21 +02:00
Cédric Krier 85f8848003 Connect calendar widgets to send_modified when changed
issue4146
review11451002
2014-09-20 10:47:39 +02:00
Nicolas Évrard 96ad804af6 Display image widget in tree view
issue3729
review4011003
2014-09-19 17:13:03 +02:00
Cédric Krier 1b779c048c Ensure __and__/__or__ of PYSON is always boolean
issue4187
review9731002
2014-09-18 19:14:57 +02:00
Cédric Krier fd6c4d710c callback of Wizard.end takes an argument
issue4188
review12551002
2014-09-18 19:12:40 +02:00
Cédric Krier 7b1e3d71f6 Simplify WinSearch usage
As there is auto-completion, there is no more need to automaticaly fill the
field with unique matching result.

issue4006
review13511002
2014-09-18 19:10:42 +02:00
Cédric Krier 8316c17406 Recompute domain4inversion if domain changed
issue4174
review5611002
2014-09-18 17:41:51 +02:00
Cédric Krier 1bf537cd47 Missing removal of context on field
issue4178
review9721003
2014-09-17 22:23:35 +02:00
Cédric Krier c1360595aa Add pre-validation on button
issue4121
review5521002
2014-09-17 22:06:08 +02:00
Cédric Krier e3c9ca8930 Replace side button by icon in the entry
This ensure that all widgets have the same height inside a row.

issue4158
review11461002
2014-09-16 10:09:35 +02:00
Cédric Krier 1fca0d85b6 Use the right record to set wizard button state
When the wizard receive the record-modified signal, current_record is not yet
set on the screen so we must use the record from the signal to set the button
state.

issue4171
review7581002
2014-09-16 10:05:05 +02:00
Cédric Krier c26018a4f3 Better export window
- Add DnD on export window
- Allow to overide predefined export

review578002
2014-09-13 15:33:07 +02:00
Cédric Krier 7143326355 Set new button in focus chain of one2many
New button must be added to focus chain to allow keyboard only creation when
there is no existing record on form view.

issue4145
review13501002
2014-09-13 15:20:35 +02:00
Cédric Krier 945c0f5a5b Prefill export window with current view fields
issue4123
review8511003
2014-09-13 15:11:19 +02:00
Cédric Krier 8f03dc77b5 Fix favorite menu on OSX
As the select event is not managed by the mac menu, it must be done using a
timeout.

issue2303
review9711002
2014-09-13 12:14:08 +02:00
Cédric Krier 36cae5c5c8 Delay update_sum on tree view
update_sum can be called a lot of time as it is called in display which is
called for each record when clearing and if the list of record is large it can
be very slow.

issue4129
review8511004
2014-09-04 22:45:25 +02:00
Cédric Krier f4577bf28b Manage field context on Group value
issue4098
review11391004
2014-08-29 16:49:54 +02:00
Cédric Krier 09fbe1c1d0 Some tree states fixes
- Direct click on save should also store the tree states
- The timestamp of tree states should be ignored for form view because it is
  only for internal usage
- Store in tree states the index instead of id for new records

issue4130
issue4131
review14431002
2014-08-29 16:27:59 +02:00
Cédric Krier 944834994a Remove widget position and use tab_compare instead
issue4092
review13451002
2014-08-29 13:36:19 +02:00
Cédric Krier 4c73900104 Check if record is still in the multiselection when displaying
The records of current value could no more be in the selection if it has changed
because of the domain. So it must no more be displaied and it will be removed by
the call to set_client.

issue4029
review9541002
2014-08-19 14:36:45 +02:00
Cédric Krier 723caeea73 Don't remove unmodified non-valid record from One2Many
issue4099
review5491003
2014-08-19 14:34:04 +02:00