Commit Graph
2180 Commits
Author SHA1 Message Date
Cédric Krier 6efb450ea0 Unconnect One2Many group before destroying it to prevent infinite loop 2012-03-17 00:26:29 +01:00
Cédric Krier ff953ed310 Add destroyed state on record
This prevent to set value on destroyed records
2012-03-17 00:25:41 +01:00
Cédric Krier fec4dc1367 Simplify clear group
Always enforce to send removed
The signal cleared is useless if removed is sent
2012-03-17 00:24:13 +01:00
Cédric Krier bb0053963a Improve login time
- Use pyson_menu
- Use new actions list
- Simplify the menu creation

review276002
2012-03-16 11:28:53 +01:00
Cédric Krier a2cfbcd558 Set rec_name of Reference to empty string if a model is defined 2012-03-13 12:44:23 +01:00
Cédric Krier c1a2e076ce Add missing fill of model in popdown of reference widget 2012-03-13 12:43:27 +01:00
Cédric Krier f80401d9ec Add missing "..." to Attachment menu entry 2012-03-12 18:10:24 +01:00
Cédric Krier 2b5036c8f5 Deactivate buttons if parent was modified
issue1809
review265001
2012-03-12 15:37:23 +01:00
Cédric Krier e6397f5360 Calendar popup must set untimezoned datetime
issue2490
2012-03-12 15:16:04 +01:00
Cédric Krier 9c6955c3c6 Fix modified test for float_time widget
It must compare text values
2012-03-12 13:25:44 +01:00
Cédric Krier 56288f1aaf Fix signal management when objects are destroyed
- don't delete attribute but set it to None
- add test if view still have a record
- lock signal when clearing group in destroy
2012-03-09 23:17:35 +01:00
Cédric Krier 6ee70ea219 Calendar popup must use timezoned date
issue2486
2012-03-09 23:06:56 +01:00
Cédric Krier 6b394a4638 Add parent context to group context
review279001
2012-03-09 14:10:48 +01:00
Cédric Krier 468fb1dae3 Move search arrow at the end and prevent focus chain on buttons
review273001
2012-03-09 14:08:35 +01:00
Cédric Krier ec4872e70a Use field.context_get instead of evaluating the context attribute 2012-03-07 16:17:19 +01:00
Cédric Krier 8e9b3e0971 Fix xxx2many WinSearch callback
Typo was introduced in changeset 4d0d16477712
2012-03-06 15:56:45 +01:00
Cédric Krier 82481bfa21 process_exception is no modal now 2012-03-06 12:27:01 +01:00
Cédric Krier 07f5a9239e Add grouped calls to on_change_with
review249004
2012-03-05 23:41:02 +01:00
Cédric Krier 38df966904 Add view before creating new record to prevent calls to default_get 2012-03-05 18:31:44 +01:00
Cédric Krier 9d4f80cbeb tdp has been replaced by domain_parser 2012-03-05 16:41:04 +01:00
Cédric Krier 481c72d738 Prevent earlier call to on_change in set_on_change on XXX2Many
review249003
2012-03-05 13:02:39 +01:00
Cédric Krier 178d2637d7 Always read rec_name and return it in WinSearch
review250002
2012-03-05 12:59:12 +01:00
Cédric Krier 54737c0df0 Prevent signal in early creation of record
review243002
2012-03-05 12:55:53 +01:00
Cédric Krier 227967c153 Add a simple search box
review247001
2012-03-05 12:51:38 +01:00
Cédric Krier 4c884b92bf Improve search completion
- complete also on empty entry
- allow to press enter to select a completion

review236001
2012-03-05 12:23:44 +01:00
Cédric Krier e596815359 New domain parser using shlex
review248001
2012-03-05 11:54:32 +01:00
Cédric Krier 12eb2a8449 Destroy group when replaced in xxx2Many fields and destroy record when group cleared
issue2467
review262001
2012-03-05 10:39:52 +01:00
Cédric Krier 1b0c687b59 Reload the screen directly under when destroying wizard
issue2279
review262002
2012-03-05 10:32:29 +01:00
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