uspallek@bart.dsl
2d44cec016
merge
2008-08-05 07:48:19 +02:00
Bertrand Chenal
30cda6ddb1
Use new icon
2008-08-04 20:28:19 +02:00
Cédric Krier
a6232c81e1
Add temporary id to record with a negative value
...
Allow to update one2many records with on_change
2008-08-04 19:13:39 +02:00
uspallek@bart.dsl
0bb1e11485
Adjust german translation for dbcreate.py.
2008-08-04 17:13:43 +02:00
uspallek@bart.dsl
ab6f82cf5d
Better layout of labels when the window is resized.
2008-08-04 17:12:57 +02:00
uspallek@bart.dsl
94be7a74c5
merge
2008-08-04 16:57:05 +02:00
uspallek@bart.dsl
47d9af06bd
Edit the german translation.
2008-08-04 16:43:10 +02:00
uspallek@bart.dsl
d8eea99edd
Added some spaces to concatenated text.
2008-08-04 16:42:43 +02:00
Cédric Krier
ebae5d67c9
Remove "Cancel" button on dialog of one2many when editing an existing model.
...
Prevent to close the window with a invalid model.
2008-08-04 15:12:36 +02:00
Cédric Krier
b5f8f35312
Fix on_change_with to be called only if the changed field is in the list
2008-08-04 15:02:18 +02:00
Cédric Krier
8e4468795b
Use Decimal comparison of numeric fields
2008-08-04 11:12:20 +02:00
uspallek@bart.dsl
9f53995c39
Final0.1. Removed redundant gtk default values. Adjust size of dialog, added
...
more tooltips for server connection.
2008-08-03 20:59:50 +02:00
uspallek@bart.dsl
5752b992af
Some more minor corrections.
2008-08-03 19:50:34 +02:00
uspallek@bart.dsl
c6132279e4
More Cleanup, even better variable naming, better default action for create
...
button.
2008-08-02 19:48:39 +02:00
uspallek@bart.dsl
33fcdfd96e
Code cleanup, __doc__, moving functions to methods.
2008-08-02 18:58:35 +02:00
uspallek@bart.dsl
d22e9e0f1b
Set the default port to 8070.
...
Change the regular expression for url-names of server connection to catch
just the beginning of a string. So we can have errormessages directly after
the erroneous connection url (see changeset 578:05ca4cdf5d12).
2008-08-02 17:43:22 +02:00
uspallek@bart.dsl
7527f9aebe
Rewrite the dbcreate from glade to pygtk with additional functions.
...
- Better tooltips for all widgets
- While input validation for databasename
- Restrict databasenames according to he following rules:
- Allowed characters are alpha-nummeric [A-Za-z0-9] and underscore (_)
- First character must be a letter
- Length of databasename less equal 63 characters
- Less popup windows on wrong entrys
- Create button appears only if all required entrys compleated
- Introduce another error message for AccessDenied:
tryton server password is wrong!
- All entryboxes listen to signal ctrl-u by clear the actual entrybox
- Message "Can't connect to database" is appened in the same box where the
connection is shown. No additional popup. (Needs fitting in the regex in
common.py. See next commit.)
- Renaming the variables to more meaningful names.
- All buttons get icons.
2008-08-02 17:37:12 +02:00
Bertrand Chenal
fcc1434277
merge
2008-08-01 18:04:31 +02:00
Bertrand Chenal
9d3b9f29cc
New logo on login screen
2008-08-01 18:03:55 +02:00
Cédric Krier
11848357c2
Allow setting of default value on checkbox widget from openerp rev548
2008-08-01 17:13:06 +02:00
Cédric Krier
d19498c3eb
Don't force to reload model in add_fields if there is no new field
2008-08-01 13:16:20 +02:00
Cédric Krier
a31bcb42bc
Don't check_load by default on expr_eval
...
Fix EvalEnvironment to handle check_load and to use get_eval
2008-08-01 13:01:46 +02:00
Cédric Krier
d5698c0afc
Add get_eval function to have simple value for expr eval in on_change,
...
states, ...
Add signal record changed when removing model from group
2008-08-01 12:38:42 +02:00
Cédric Krier
8c8e74b5ff
Use MAX_LENGHT in pysocket and don't use fixed size for length of message
2008-07-31 18:48:58 +02:00
Cédric Krier
770d8ee969
Improve _type for issue226
2008-07-30 20:06:04 +02:00
Cédric Krier
a9dabde86a
Disable psyco as it breaks report printing
2008-07-30 12:51:42 +02:00
Cédric Krier
47effd0242
Reset datas['form'] only for form view
2008-07-30 12:51:16 +02:00
Cédric Krier
16fdec4297
Reset datas['form'] between each steps
2008-07-30 12:36:21 +02:00
Cédric Krier
ee36a351c8
Always ask for action with right click on fields
2008-07-30 12:00:41 +02:00
Cédric Krier
5aab8a0d10
Admin password for DB creation is required
2008-07-29 17:24:21 +02:00
Cédric Krier
3a4ac7ec27
Add __repr__ on ModelRecordGroup
2008-07-29 13:21:35 +02:00
Cédric Krier
f8bb1a4215
Set mfields in model before display widgets
2008-07-29 13:21:19 +02:00
Cédric Krier
a696bbb794
Fix fields_view_get cache
2008-07-29 12:12:56 +02:00
Cédric Krier
e1022e9f0a
eval digits for each object in tree view
2008-07-29 11:26:08 +02:00
Cédric Krier
6f75ef11c8
Fix clear calendar
2008-07-28 22:16:38 +02:00
Cédric Krier
5e43125d55
Use model expr_eval for evaluating the state attributes
2008-07-28 18:45:01 +02:00
Cédric Krier
e04439cffd
Display sum of selected records and sum of all records
2008-07-28 18:21:39 +02:00
Cédric Krier
730a2cbed4
Add rubber banding on list view
2008-07-28 18:15:04 +02:00
Cédric Krier
b0eaf37427
Allow to have string for digits that will be evalutate with the record values.
2008-07-28 18:09:37 +02:00
Cédric Krier
1471b6150e
Add admin password on database creation for issue219
...
Remove lenght constraint on password field from glade
2008-07-28 10:12:17 +02:00
Cédric Krier
2e1ec4542b
Fix warning params
2008-07-28 10:11:27 +02:00
Cédric Krier
81a024aca3
Remove space
2008-07-27 23:29:32 +02:00
Cédric Krier
28371360d1
Handle on_change_with
2008-07-27 00:04:33 +02:00
Cédric Krier
c2424a73e1
Set readonly = False on state change for One2Many
2008-07-26 18:40:48 +02:00
Cédric Krier
c0f74d66ca
Change unlink to delete for issue201
2008-07-25 12:52:05 +02:00
Cédric Krier
c38e31cdde
Fix screen remove when there is no row selected for issue214
2008-07-25 10:26:14 +02:00
Cédric Krier
3a8cfa1f5c
Add psyco
2008-07-24 23:12:20 +02:00
Cédric Krier
4d6f1e8027
Fix when selection file in attachment is canceled
2008-07-24 22:44:12 +02:00
Cédric Krier
d12fe4d9d7
Fix if python has ipv6 but the kernel not
2008-07-24 18:07:59 +02:00
Cédric Krier
019ab9717d
Set encoding to UTF-8 if not set
2008-07-24 17:49:24 +02:00