Cédric Krier
bd7cf23975
Remove win_createdb from glade
2008-08-05 11:54:42 +02:00
Cédric Krier
a0ab2b614c
Remove ending space
2008-08-05 11:44:48 +02:00
Cédric Krier
308fa17751
Remove duplicate pack_start
2008-08-05 11:43:33 +02:00
uspallek@bart.dsl
52e4e91277
make check of Ctrl-Key-pressed simpler: event.state & gtk.gdk.CONTROL_MASK, Clean-up comments.
2008-08-05 11:14:09 +02:00
uspallek@bart.dsl
293c088628
Generate new translation pot, edit some german client translations.
2008-08-05 10:42:34 +02:00
uspallek@bart.dsl
d710a584a1
Bug: password with letter "u": Add test in event_clear_passwd (event.state & gtk.gdk.CONTROL_MASK)
2008-08-05 10:31:17 +02:00
uspallek@bart.dsl
571fbbeacc
Some typo and guidelines:
...
> cedk:
> - We put two space before a class and one before a function
>
> - I prefer to have docstring with this form:
>
> def foo(self):
> """
> foo makes something
> ...
> """
2008-08-05 10:05:49 +02:00
uspallek@bart.dsl
e31a4bb182
- Don't set set_width_chars on entry that must not have limitation
...
- Don't set set_max_length on entry like password, because there is no
limitation.
2008-08-05 09:56:11 +02:00
uspallek@bart.dsl
baa3c8da29
Cedk: You can set the size of the dialog to something like (500, 300), but
...
to have the table with the right size, you must call
"dialog_vbox.pack_start(table)"
after filling all the table. (here it is just before
self.dialog.vbox.pack_start(dialog_vbox)
2008-08-05 09:36:53 +02:00
uspallek@bart.dsl
3f347be63f
Use COLORS from common.py
2008-08-05 09:29:42 +02:00
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