Commit Graph
58607 Commits
Author SHA1 Message Date
Cédric Krier ef0979b0d6 Remove unused import 2008-08-05 13:09:46 +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
Cédric Krier 465c9464c0 Add translation of _constraints 2008-08-05 11:36:49 +02:00
Cédric Krier c81afef1ad Add translation of _constraints 2008-08-05 11:36:37 +02:00
Cédric Krier 3fc047157b Add translation of _constraints 2008-08-05 11:36:25 +02:00
Cédric Krier 602439fced Add translation of _constraints 2008-08-05 11:36:10 +02:00
Cédric Krier 93cef8c954 Add translation of _constraints 2008-08-05 11:35:35 +02:00
Cédric Krier 90f8598d99 Add translation of _constraints 2008-08-05 11:35:18 +02:00
Cédric Krier be852644e2 Add translation of _constraints 2008-08-05 11:35:03 +02:00
Cédric Krier 2861ff23be Add translation of _constraints 2008-08-05 11:34:45 +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 918124529d Fix rename button_update into update_taxes 2008-08-04 19:18:14 +02:00
Cédric Krier d3fad01b65 Add on_change on lines and taxes
Remove button_compute and button_reset_taxes
Rename button_compute into update_taxes
2008-08-04 19:17:48 +02:00
Cédric Krier cd73bc33e9 Set location and company readonly when there is inventory lines 2008-08-04 19:16:01 +02:00
Cédric Krier 588b7f2771 Set default value for payment term if party doesn't have one 2008-08-04 19:15:28 +02:00
Cédric Krier 5752fbdbff Remove button_compute 2008-08-04 19:14:53 +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 b94969d45a Set currency readonly when there is lines because unit price depend of the
currency
2008-08-01 17:32:00 +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 7935737dea Fix index name on ir.translation and add a new one 2008-08-01 17:08:50 +02:00
Cédric Krier 4c9eb88b45 Add some indexes on workflow object inspired by openerp rev936 2008-08-01 17:01:29 +02:00
Cédric Krier eb51ff1c70 Add default value for payment_term if there is only one 2008-08-01 16:36:54 +02:00
Cédric Krier 4584b6dde2 Use domain of payment_term field for the search of default in prevention of
futur inherit that will add domain
2008-08-01 16:36:20 +02:00
Cédric Krier 1e6b71548c Add default value for payment_term and warehouse if there is only one 2008-08-01 16:30:52 +02:00