Cédric Krier
88aa47be2a
Remove the readonly test as the button is disable when field is readonly
2008-08-07 11:01:38 +02:00
Cédric Krier
2dde9bc0c8
Improve error message and tooltips
2008-08-07 11:00:48 +02:00
Cédric Krier
826540fe06
Don't use Tryton in every messages
2008-08-07 11:00:20 +02:00
Cédric Krier
42943ba254
Put tags outside of the translation
2008-08-07 10:59:45 +02:00
Cédric Krier
bb9050c5d8
Fix typo
2008-08-07 10:59:18 +02:00
Cédric Krier
b1c5db99aa
Fix title and error message
2008-08-07 10:59:01 +02:00
Cédric Krier
9e34ffe0fb
Update translation
...
Add fr_FR translation
2008-08-07 09:37:58 +02:00
Cédric Krier
06a49641bd
Improve erreur message
2008-08-07 09:37:23 +02:00
Cédric Krier
ab8b7bf598
Don't translate server address
2008-08-07 09:36:59 +02:00
Cédric Krier
573f1eda70
merge
2008-08-05 14:54:19 +02:00
uspallek@bart.dsl
a906501325
Updated translation template and german translations.
2008-08-05 14:43:03 +02:00
uspallek@bart.dsl
0dd10b0138
Change label "name" into "database name"
2008-08-05 14:42:26 +02:00
Cédric Krier
8fe630898a
Fix remove for list to not write deleted models
2008-08-05 13:59:04 +02:00
Cédric Krier
69610c6c1a
Add test for model != None and fix sel_ids_get to get only real ids
2008-08-05 13:58:33 +02:00
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