Cédric Krier
7daeef687d
button press use the wrong record to popup the menu
...
issue3702
review3691004
2014-02-27 12:43:13 +01:00
Cédric Krier
c42bf12c09
Fix completion test for Reference field
...
The test must use only the id and should also allow negative id.
issue3700
review3691003
2014-02-27 12:41:39 +01:00
Cédric Krier
c6f380ce17
Add Len to PYSON
...
issue3692
review3671002
2014-02-27 12:37:47 +01:00
Cédric Krier
e9f9dc5620
Remove unused code "_menu_sig_default_set" in selection widget
...
_menu_sig_default_set is no more used since changest 49e0a55d4af1
2014-02-23 15:44:56 +01:00
Cédric Krier
3980abf1e9
Remove unused code "click_and_*" in list view
...
click_and_relate and click_and_action are no more used since changeset
9c6c90a6111d.
2014-02-21 16:26:35 +01:00
Cédric Krier
6f5485bd1d
Use a pool of connection
...
review3471002
2014-02-20 23:39:51 +01:00
Cédric Krier
51a815b31d
Fix action button sensibility
...
Allow to run action if no record is selected.
issue3685
review3611003
2014-02-20 23:35:58 +01:00
Cédric Krier
df6f7986d3
Many2Many edit should use his own screen instance
...
It must not trigger a grant parent reload.
issue3646
review3191003
2014-02-15 18:40:44 +01:00
Cédric Krier
25bea1594f
Manage client actions from button and wizard
...
issue3343
review3241002
2014-02-15 18:24:25 +01:00
Cédric Krier
5a6c2fcd0e
Missing one more removal of unused view cancel
2014-02-14 18:46:43 +01:00
Cédric Krier
5c01df4ef7
Missing removal of unused view cancel
2014-02-14 11:49:15 +01:00
Cédric Krier
4e8a8bd798
Remove unused view cancel
2014-02-14 00:25:48 +01:00
Cédric Krier
07fbed7309
Allow to close wizard if end state transition exists
...
issue3652
review3291002
2014-02-14 00:07:13 +01:00
Cédric Krier
a7ebdba976
Fix domain inversion for xxx2many fields
...
issue3659
review3311002
2014-02-13 22:49:22 +01:00
Cédric Krier
8dbc5d2ddd
Missing removal of early attribute clearing in destroy
...
This one was missing in changeset 894fb914ef79
review3441002
2014-02-13 11:41:39 +01:00
Cédric Krier
1c40bda218
Fix race condition when switching tabs fast
...
Since changeset 894fb914ef79, the set_cursor on form doesn't detect it was
closed and so the cursor widget is no more there.
review3401002
2014-02-13 11:41:10 +01:00
Cédric Krier
0cc0a80ae8
selected_records is on the screen, not the form
...
issue3671
2014-02-12 11:09:29 +01:00
Cédric Krier
a63c30c30b
Add buttons of the view in actions menu
...
review3011005
2014-02-11 19:40:41 +01:00
Cédric Krier
d306e07621
Don't evaluate anymore relate action with the record
...
This enforce the usage of only active_mode, active_id and active_ids for relate
domain otherwise the behavior is not depend of the fields present on the view
and already loaded.
issue2474
review3271002
2014-02-11 18:13:04 +01:00
Cédric Krier
3f7ee21952
Search for sequence on all views of one2many
...
issue3642
review3201004
2014-02-10 22:24:21 +01:00
Cédric Krier
efac3f6036
Remove early attribute clearing in destroy
...
Removing those attributes could lead to errors where in the code we expect to
have those attributes.
It is better to leave them and let the garbage collector detect them.
review3251002
2014-02-10 22:23:04 +01:00
Cédric Krier
a7ae4d4520
Fix dynamic size for translate widget
...
Dynamic size was added in changeset 8ee7e142c8fd but the translate widget was
not updated.
review3271004
2014-02-09 23:57:24 +01:00
Cédric Krier
2ad92c8ba2
Fix selection of column in next/previous
...
When _sign is negative, it doesn't select the first column but the second. So
despite of selection the wrong column, it could crash if there is only one
column in the view.
review3241004
2014-02-09 23:56:27 +01:00
Cédric Krier
34f9666bbd
Don't set missing default value to False
...
False is not always a good valid value for the field, so it is better to let the
field dealing with default value.
issue3643
review3281002
2014-02-09 23:54:56 +01:00
Cédric Krier
6a568168bc
Add context to import window
...
Users could expect that importing from a specific window will inherit of his
behavior like the default value of fields. So the context of this window should
be passed to the import_data call.
review2971002
2014-02-09 23:50:54 +01:00
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
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
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
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
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