Commit Graph
4102 Commits
Author SHA1 Message Date
Cédric Krier 63fce32636 Remove process call on wizard sensitive state change
This hack was added by changeset cd8bf16ecab4 to manage wizard launching other
wizards but changeset 8bcd8092c2d9 makes this hack useless.

issue3638
review3201003
2014-02-06 23:02:10 +01:00
Cédric Krier 490d4df18d Use same modified value as on_change for pre_validate
The value sent for pre_validation will be used to instanciate a record in the
same way as on_change. It is also better to get the id also for pre_validate.

review3211002
2014-02-06 22:57:15 +01:00
Cédric Krier f05a13b742 Send record-saved signal after display
When called before display, current_view could still have unformatted value on
the widgets which could be considered as different.

review3131003
2014-02-06 22:38:43 +01:00
Cédric Krier 4584290436 Fix find button in search window
It should use the text filled in the search entry.
And it should not close the window if nothing is found.

review3101003
(transplanted from 8b22f7366f7caeb7ecbe86c28b8b4f8f3bf32627)
2014-02-06 22:36:44 +01:00
Cédric Krier 47a89aa7b4 Fix find button in search window
It should use the text filled in the search entry.
And it should not close the window if nothing is found.

review3101003
(transplanted from 8b22f7366f7caeb7ecbe86c28b8b4f8f3bf32627)
2014-02-06 22:36:44 +01:00
Cédric Krier 8f0f882fc0 Fix find button in search window
It should use the text filled in the search entry.
And it should not close the window if nothing is found.

review3101003
(transplanted from 8b22f7366f7caeb7ecbe86c28b8b4f8f3bf32627)
2014-02-06 22:36:44 +01:00
Cédric Krier 5575f63a8c Fix find button in search window
It should use the text filled in the search entry.
And it should not close the window if nothing is found.

review3101003
(transplanted from 8b22f7366f7caeb7ecbe86c28b8b4f8f3bf32627)
2014-02-06 22:36:44 +01:00
Cédric Krier 5dbb8de300 Fix find button in search window
It should use the text filled in the search entry.
And it should not close the window if nothing is found.

review3101003
(transplanted from 8b22f7366f7caeb7ecbe86c28b8b4f8f3bf32627)
2014-02-06 22:36:44 +01:00
Cédric Krier a4751b61bd Fix find button in search window
It should use the text filled in the search entry.
And it should not close the window if nothing is found.

review3101003
2014-02-06 22:36:44 +01:00
Cédric Krier 45ab9bcfa2 Allow to use other field with the binary widget
review2921002
2014-02-06 22:34:32 +01:00
Cédric Krier 88dd63fc51 Use sys.prefix instead of guessing
issue3515
review2881002
2014-01-31 22:21:41 +01:00
Cédric Krier 1b71539f20 Remember path of last edited file in binary widget
Binary widget remember the path of the last edited file, so it can be selected
by default by the open button.

issue3606
review2861002
2014-01-31 22:17:54 +01:00
Cédric Krier 36891f23da Paste on editable list create new records if needed
review2841002
2014-01-31 22:13:23 +01:00
Cédric Krier 0fce9c8a40 Drop support of Python 2.6
review2681004
2014-01-31 00:05:43 +01:00
Cédric Krier 03a3d7097c Encode gettext value to match with string value
issue3587
review2991002
(transplanted from 80a479e15e31f5a97eaf26ddbd3f9a89303c595e)
2014-01-26 22:17:03 +01:00
Cédric Krier 15d9dbf53b Encode gettext value to match with string value
issue3587
review2991002
(transplanted from 80a479e15e31f5a97eaf26ddbd3f9a89303c595e)
2014-01-26 22:17:03 +01:00
Cédric Krier 9a5e4b0303 Encode gettext value to match with string value
issue3587
review2991002
(transplanted from 80a479e15e31f5a97eaf26ddbd3f9a89303c595e)
2014-01-26 22:17:03 +01:00
Cédric Krier 24894330bf Encode gettext value to match with string value
issue3587
review2991002
(transplanted from 80a479e15e31f5a97eaf26ddbd3f9a89303c595e)
2014-01-26 22:17:03 +01:00
Cédric Krier f9e5931420 Encode gettext value to match with string value
issue3587
review2991002
2014-01-26 22:17:03 +01:00
Cédric Krier 4f5b6da87c merge 2014-01-26 22:03:13 +01:00
Cédric Krier e62e15612b Add missing states management for Binary in TreeView
issue3570
review2811002
2014-01-26 22:01:32 +01:00
Nicolas Évrard 09ceaba41b reset tree_states_done when setting a screen group
The O2M screen's tree_states_done property is filled with the view id, this
property is used to know when the state must be set or not. This has the effect
of not restoring the state of O2M widget when switching from a record to
another. This change fixes this behavior.

issue3609
review2791003
2014-01-26 18:03:00 +01:00
Cédric Krier 2cd0da0d57 Don't set default value for on_change and set id
issue3487
review2501002
2014-01-26 14:30:12 +01:00
Cédric Krier 6663c2ef29 In Reference widget, return empty string for get_model() as default value
issue3571
review2521002
2014-01-18 19:46:57 +01:00
Cédric Krier 093847ba43 Remove old workaround for PyGTK < 2.22
review2681003
2014-01-16 22:12:52 +01:00
Cédric Krier 92e4a36879 Force value of parent Reference field
Since 2.6, reference field can be used in One2Many so in this case the value
should be forced like for Many2One.

review2581002
(transplanted from 67acb340ba7caf7f6c801e2c7af6884e6603b614)
2014-01-09 18:45:14 +01:00
Cédric Krier 695e08021c Force value of parent Reference field
Since 2.6, reference field can be used in One2Many so in this case the value
should be forced like for Many2One.

review2581002
(transplanted from 67acb340ba7caf7f6c801e2c7af6884e6603b614)
2014-01-09 18:45:14 +01:00
Cédric Krier 4bacba8f75 Force value of parent Reference field
Since 2.6, reference field can be used in One2Many so in this case the value
should be forced like for Many2One.

review2581002
(transplanted from 67acb340ba7caf7f6c801e2c7af6884e6603b614)
2014-01-09 18:45:14 +01:00
Cédric Krier cb313d2557 Force value of parent Reference field
Since 2.6, reference field can be used in One2Many so in this case the value
should be forced like for Many2One.

review2581002
2014-01-09 18:45:14 +01:00
Cédric Krier 1035c28051 Fix reload of screen at the end of wizard
A wizard could be launch by a button defined on a children record. In this case,
the ids to reload is not the ids from the wizard as they are from the children
model but just the current record.

issue3519
review2571002
(transplanted from 6f657eeefffcc5a74be70e7cc8868fc7293d3c44)
2014-01-09 18:44:16 +01:00
Cédric Krier 6eab7fefb8 Fix reload of screen at the end of wizard
A wizard could be launch by a button defined on a children record. In this case,
the ids to reload is not the ids from the wizard as they are from the children
model but just the current record.

issue3519
review2571002
(transplanted from 6f657eeefffcc5a74be70e7cc8868fc7293d3c44)
2014-01-09 18:44:16 +01:00
Cédric Krier c8112db48b Fix reload of screen at the end of wizard
A wizard could be launch by a button defined on a children record. In this case,
the ids to reload is not the ids from the wizard as they are from the children
model but just the current record.

issue3519
review2571002
(transplanted from 6f657eeefffcc5a74be70e7cc8868fc7293d3c44)
2014-01-09 18:44:16 +01:00
Cédric Krier 24e7236c7a Fix reload of screen at the end of wizard
A wizard could be launch by a button defined on a children record. In this case,
the ids to reload is not the ids from the wizard as they are from the children
model but just the current record.

issue3519
review2571002
2014-01-09 18:44:16 +01:00
Cédric Krier dcfb0c178d Resize search box to not be out of the parent
Using the screen did not always work because there could be some places on the
screen that are not reachable by a window, for example a desktop toolbar.

review2061002
2014-01-04 19:35:37 +01:00
Cédric Krier 512f6262bf Rename unlink for remove
issue3457
review2291002
2013-12-20 12:35:17 +01:00
Cédric Krier 4c8f1c056d Use a sequence of records, values in write
issue3499
review1901002
2013-12-19 14:46:30 +01:00
Cédric Krier 723b4610b3 Manage position of the cursor for Many2One and Char widgets
issue2230
review660002
2013-12-12 13:25:58 +01:00
Cédric Krier 6cf942a220 domain_parser should use rec_name for relation field and list
in operator on relation field must use list of ids. So the related rec_name
should be used instead because domain_parser always uses string as value.

issue3540
review2141002
2013-12-12 13:13:08 +01:00
Cédric Krier 07f223277c Set resource before saving
Since changeset ab856042562b, excluded fields are no more validated so the
resource field is no more set on attachment by the domain inversion (it is done
on validation).

issue3525
review2131002
2013-12-12 12:47:51 +01:00
Cédric Krier a4bdf524e4 Always match completion in search
issue3527
review1981002
2013-12-12 12:45:35 +01:00
Cédric Krier f7d32cd03f Quote also label in search box
issue3526
review1971002
2013-12-12 12:43:20 +01:00
Axel Braun b1079268e1 Desktop entry fixed for scheme registration
issue3479
2013-12-06 15:33:37 +01:00
Cédric Krier 8547f02dcc Fix domain_parser test_convert_datetime to use UTC value
Since changeset 3700121868af, internal datetime are always in UTC.
2013-12-05 17:42:04 +01:00
Cédric Krier 4bb41b7aba Increase version number 2013-12-04 18:34:22 +01:00
Cédric Krier 83efaca488 Added tag 2.2.12 for changeset bdc89dbdc16a 2013-12-04 18:34:00 +01:00
Cédric Krier 5c3fb5cbfa Prepare release 2.2.12 2013-12-04 18:33:59 +01:00
Cédric Krier 5490d54f9a Increase version number 2013-12-04 18:04:11 +01:00
Cédric Krier de4b7143eb Added tag 2.4.10 for changeset ccc098c7a309 2013-12-04 18:03:20 +01:00
Cédric Krier 3d29bf47a2 Prepare release 2.4.10 2013-12-04 18:03:19 +01:00
Cédric Krier 39d430c602 Increase version number 2013-12-04 17:28:34 +01:00