Commit Graph
2152 Commits
Author SHA1 Message Date
Cédric Krier 739038204d Reload context at the end of wizard only for config wizard
Reloading context at the end of all wizard, makes the client lost the company
context of the current session.

issue2457
review252001
2012-03-05 10:30:36 +01:00
Cédric Krier ad16d3232f Synchronize with trytond pyson 2012-03-05 10:20:36 +01:00
Cédric Krier 57cef89150 Use relativedelta to make all the datetime computation
issue2469
2012-03-05 10:15:53 +01:00
Nicolas Évrard 88ba73608a Use dict for string interpollation
review215001
issue2193
2012-03-04 16:04:37 +01:00
Nicolas Évrard 9d2cc31762 remove options settable from gtk
review221001
2012-03-04 16:02:51 +01:00
Cédric Krier e5031a9924 Add Rodrigo Hübner to COPYRIGHT 2012-03-02 16:29:42 +01:00
Cédric Krier a2458fcc79 Fix delayed call to _record_modified
As it is called via idle_add, the form could have been destroyed in the
meantime.
2012-03-02 14:09:48 +01:00
Cédric Krier d6afcdafb1 Return empty list when calling O2M.get if empty
Test on required state except to have a value evaluated to False in case of
empty O2M.

issue2382
review258002
2012-03-01 10:18:31 +01:00
Cédric Krier 4dcb82b149 Better translation dialog box
Display the fuzzy value and mark which language is edited.

review243003
2012-02-29 14:04:06 +01:00
Cédric Krier 52bd81b773 Block update_profiles when clearing profile entries
Otherwise the wrong profile can be updated as update_profiles will be called
before the new profile is selected.

issue2458
2012-02-22 17:23:19 +01:00
Cédric Krier e1aa70db0e Prevent double sent of edited event
Rely only on the focus-out-event of the editable otherwise the edited event can
be sent twice and if the selected profile was removed it generates a IndexError.
2012-02-22 17:20:50 +01:00
Cédric Krier 470702c945 Manage success of process exception in wizard
review249001
2012-02-22 11:56:03 +01:00
Cédric Krier 3b18e6f8dd Allow to translate title of ColorSelectionDialog 2012-02-22 11:02:06 +01:00
Cédric Krier 17b1cac21d Calls only once get_selection_bounds 2012-02-22 10:48:29 +01:00
Cédric Krier f798edb7ca Set transient for ColorSelectionDialog 2012-02-22 10:48:07 +01:00
Cédric Krier e768a23025 Prevent some calls to focus_out to not lose the selection
Popups and dialogs raised when clicking on some tool of the toolbar grab the
focus then focus_out is called and modifiy the TextBuffer which makes it lose
the selection.
2012-02-22 10:47:30 +01:00
Rodrigo Hübner 503dfc2387 Adding richtext editor
change and add files for richtext editor in client side

review231001
2012-02-21 22:06:15 +01:00
Cédric Krier 4b171adefb Remove trailing space 2012-02-21 16:19:03 +01:00
Cédric Krier 9cadac22f1 Remove unused method cond_default 2012-02-21 11:48:47 +01:00
Cédric Krier 533f92338d Add missing attachment in form menu
- reorder menu to follow toolbar
- update to documentation
- make board menu similar to form menu


review242001
2012-02-17 14:59:46 +01:00
Cédric Krier d0487d0f2a Add missing default value when getting view_ids from attributes 2012-02-16 15:14:56 +01:00
Cédric Krier d193951a0a Fix typo when storing rec_name in parent for Many2One 2012-02-16 14:42:39 +01:00
Cédric Krier c7cb11ebd6 Add test if get_realized is available
get_realized is available on PyGTK >= 2.22

issue2455
2012-02-15 18:36:21 +01:00
Cédric Krier 6dad696979 Handle focus_out when using popup or completion in Selection fields 2012-02-15 13:16:51 +01:00
Cédric Krier 8aa38dd6f0 Fix WeakSet for Python 2.6 2012-02-12 17:40:02 +01:00
Cédric Krier b2807519d6 Add missing set_cursor on wizard form
Changeset 49bb453a96f6 introduces set_cursor for tab content.
2012-02-08 19:38:26 +01:00
Cédric Krier 03356f9b08 Fix edition in board view
We must call the callback before destroying the form otherwise the value are
not synchronized to the record.

review239001
2012-02-08 16:21:12 +01:00
Cédric Krier 43ffff7e04 Set column only if TreeView is realized
This allow to have a lazy loading of xx2many field in form view.

review237002
2012-02-08 16:17:24 +01:00
Cédric Krier 7a41767218 Add shortcuts in tooltips
review243001
2012-02-08 16:08:07 +01:00
Cédric Krier 912173d58e Add a record pool to prefetch more records
review222005
2012-02-08 14:45:17 +01:00
Cédric Krier 57d2cd31b0 Fix Feference field to work with non-relational value
The refactoring of changeset 0e4702844572 removed the management of
non-relational value for Reference fields.
2012-02-07 18:29:56 +01:00
Cédric Krier d116caa635 Add Time widget
issue2313
review229008
2012-02-07 16:12:35 +01:00
Cédric Krier 51c73ad3d1 Remove tzinfo from untimzoned date
issue2439
review238001
2012-02-07 13:59:25 +01:00
Cédric Krier e9289a191a Fix timezoned usage introduced in 3b034f9ce9c0
issue2439
review238001
2012-02-07 13:57:18 +01:00
Cédric Krier 7460e69de2 Test record in send_modified
As the call is asynchronous the record could be not set.

issue2447
2012-02-07 13:52:23 +01:00
Cédric Krier 4f8686dc22 Update and improve language management in setup.py 2012-02-07 13:09:54 +01:00
Cédric Krier bffc8cd057 merge 2012-02-07 12:50:57 +01:00
Cédric Krier 22db40f7c9 Fix on_change value of M2O and Reference fields
The value format has been changed by the refactoring of changeset 0e4702844572.
Now rec_name is set directly into the value of the record.

issue2444
2012-02-07 12:47:10 +01:00
Giedrius Slavinskas ca41f2d7b1 Add Lithuanian translation 2012-02-07 12:45:33 +02:00
Cédric Krier aa65e7cd22 Fix typo views_ids -> view_ids in Many2Many 2012-02-02 16:07:27 +01:00
Cédric Krier 7c5caae16d Set cursor with reset_view when switching view 2012-02-02 12:21:04 +01:00
Cédric Krier 248232a7a6 Remove edit_canceled as empty profile is managed by edit_profilename
issue2292
review237001
2012-02-01 17:11:41 +01:00
Cédric Krier 741022739c Fix cleaning of message info and activation of save button
review219009
2012-02-01 17:08:15 +01:00
Cédric Krier f2f07153a5 merge 2012-02-01 17:06:09 +01:00
Cédric Krier 29550c290b Handle generic default internal value
review235001
2012-02-01 17:05:38 +01:00
Nicolas Évrard bb01320fc0 remove unused call to int 2012-02-01 12:02:25 +01:00
Cédric Krier 337b92e1f8 merge 2012-02-01 11:47:12 +01:00
Cédric Krier e13d8c2ace Manage view_ids
issue2401
review221007
2012-01-31 23:27:44 +01:00
Cédric Krier 964100bc36 Prevent unnecessary refresh of database
review233005
2012-01-31 13:09:36 +01:00
Cédric Krier fc15fedb07 Better management of focus out in Many2Many
review233004
2012-01-31 13:07:35 +01:00