tfr (Openerp) has proposed merging 
lp:~openerp-dev/openobject-client/trunk-dev-client into lp:openobject-client.

Requested reviews:
  OpenERP sa GTK client R&D (openerp-dev-gtk)
Related bugs:
  #491817 support for 'or' in attrs keyword
  https://bugs.launchpad.net/bugs/491817
  #524505 New resource creation remembers the ToggleButton value(state,assigned 
to,etc.) of search panel
  https://bugs.launchpad.net/bugs/524505
  #540224 Wish we could close tabs with middle-button
  https://bugs.launchpad.net/bugs/540224
  #548932 widget="float_time" rounds off wrong value!
  https://bugs.launchpad.net/bugs/548932
  #559788 Bug on new lines in char class when you paste from the clipboard
  https://bugs.launchpad.net/bugs/559788
  #586252 [6.0] many2many widgets ignore default values (values not in 
pager_cache)
  https://bugs.launchpad.net/bugs/586252
  #590659 Model data translation window returns lang=False for en_US
  https://bugs.launchpad.net/bugs/590659
  #592081 Popups disappear behind main window
  https://bugs.launchpad.net/bugs/592081
  #604604 fields.reference required
  https://bugs.launchpad.net/bugs/604604
  #607692 Windows gtk client crashes on charts drawing
  https://bugs.launchpad.net/bugs/607692
  #631898 [trunk] product - search by category does not return any records
  https://bugs.launchpad.net/bugs/631898
  #650921 Graph view - Date type field order in X-axis
  https://bugs.launchpad.net/bugs/650921
  #655266 [trunk] datatime search widget looses data
  https://bugs.launchpad.net/bugs/655266
  #663700 "filename" attribute not preserved when used with widget="image"
  https://bugs.launchpad.net/bugs/663700
  #673117 Update to AGPLv3 version of spiff-gtkwidget widgets
  https://bugs.launchpad.net/bugs/673117
  #673229 [6.0RC1] export error
  https://bugs.launchpad.net/bugs/673229
  #681142 On Linux OpenERP-Client doesn't support printing with preview disabled
  https://bugs.launchpad.net/bugs/681142
  #681889 confirmation messages not set for translation
  https://bugs.launchpad.net/bugs/681889
  #682735 GTK calls fields_get without context
  https://bugs.launchpad.net/bugs/682735
  #682801 Loop looking for maintenance contract when server is broken
  https://bugs.launchpad.net/bugs/682801
  #684308 [6.0 trunk] Close button saves the form
  https://bugs.launchpad.net/bugs/684308
  #684667 Search view in calendar view shouldn't appear
  https://bugs.launchpad.net/bugs/684667
  #685193 v6.0.0-rc1-1 - treeview - time format should be right adjusted
  https://bugs.launchpad.net/bugs/685193
  #685810 Opening a second o2many field erase their content
  https://bugs.launchpad.net/bugs/685810
  #687274 Whitespace in server name or port prevents connection
  https://bugs.launchpad.net/bugs/687274
  #687549 [V6.Trunk] Shift+ctrl+H new tab does not work
  https://bugs.launchpad.net/bugs/687549
  #691491 Focus in tree view doesn't follow the column
  https://bugs.launchpad.net/bugs/691491
  #692105 (ir.actions.act_window) Action Window does not work with limit field
  https://bugs.launchpad.net/bugs/692105
  #693322 Value of 0 is not shown in the Graph View
  https://bugs.launchpad.net/bugs/693322
  #693474 access denied when change password in preference
  https://bugs.launchpad.net/bugs/693474
  #693700 task calendar view does not support international characters in 
windows client
  https://bugs.launchpad.net/bugs/693700
  #694914 Domain with "state" preserves the state for new record
  https://bugs.launchpad.net/bugs/694914
  #694966 Custom Filter shows only those fields which are in list view,not all.
  https://bugs.launchpad.net/bugs/694966
  #695952 [6rc1] button in one2many field active before saving main form
  https://bugs.launchpad.net/bugs/695952
  #696735 Group_by : actual Active_ids are not being sent
  https://bugs.launchpad.net/bugs/696735
  #698202 [6.0 RC2] account - journal item - switching emty list to form asks 
for confirmation
  https://bugs.launchpad.net/bugs/698202

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-dev-client/+merge/45678
-- 
https://code.launchpad.net/~openerp-dev/openobject-client/trunk-dev-client/+merge/45678
Your team OpenERP sa GTK client R&D is requested to review the proposed merge 
of lp:~openerp-dev/openobject-client/trunk-dev-client into lp:openobject-client.
=== modified file 'bin/SpiffGtkWidgets/Calendar/MyCalendar.py'
--- bin/SpiffGtkWidgets/Calendar/MyCalendar.py	2010-12-13 09:52:05 +0000
+++ bin/SpiffGtkWidgets/Calendar/MyCalendar.py	2011-01-10 12:02:04 +0000
@@ -18,6 +18,7 @@
 
 import datetime
 import calendar
+import locale
 
 
 class MyCalendar(object):
@@ -84,7 +85,8 @@
 
     def get_day_name(self, date):
         day = calendar.weekday(*date.timetuple()[:3])
-        return calendar.day_name[day]
+        lang, encoding =  locale.getlocale()
+        return calendar.day_name[day].decode(encoding)
 
 
     def get_month_name(self, date):

=== modified file 'bin/modules/gui/window/form.py'
--- bin/modules/gui/window/form.py	2011-01-04 15:09:37 +0000
+++ bin/modules/gui/window/form.py	2011-01-10 12:02:04 +0000
@@ -236,8 +236,8 @@
         id = self.screen.id_get()
         if mode<>self.screen.current_view.view_type:
             self.screen.switch_view(mode=mode)
-            self.sig_reload()
             if id:
+                self.sig_reload()
                 self.get_resource(get_id=id)
 
     def sig_logs(self, widget=None):

=== modified file 'bin/widget/screen/screen.py'
--- bin/widget/screen/screen.py	2010-12-21 05:18:43 +0000
+++ bin/widget/screen/screen.py	2011-01-10 12:02:04 +0000
@@ -337,24 +337,20 @@
             combo.set_active(0)
             return True
         #This section handles shortcut and action creation
-        elif flag in ['sh','sf']:
+        elif flag in ['sf']:
             glade2 = glade.XML(common.terp_path("openerp.glade"),'dia_get_action',gettext.textdomain())
             widget = glade2.get_widget('action_name')
             win = glade2.get_widget('dia_get_action')
             win.set_icon(common.OPENERP_ICON)
             lbl = glade2.get_widget('label157')
-            if flag == 'sh':
-                win.set_title('Shortcut Entry')
-                lbl.set_text('Shortcut Name:')
-            else:
-                win.set_size_request(300, 165)
-                text_entry = glade2.get_widget('action_name')
-                lbl.set_text('Filter Name:')
-                table =  glade2.get_widget('table8')
-                info_lbl = gtk.Label(_('(Any existing filter with the \nsame name will be replaced)'))
-                table.attach(info_lbl,1,2,2,3, gtk.FILL, gtk.EXPAND)
-                if self.screen_container.last_active_filter:
-                    text_entry.set_text(self.screen_container.last_active_filter)
+            win.set_size_request(300, 165)
+            text_entry = glade2.get_widget('action_name')
+            lbl.set_text('Filter Name:')
+            table =  glade2.get_widget('table8')
+            info_lbl = gtk.Label(_('(Any existing filter with the \nsame name will be replaced)'))
+            table.attach(info_lbl,1,2,2,3, gtk.FILL, gtk.EXPAND)
+            if self.screen_container.last_active_filter:
+                text_entry.set_text(self.screen_container.last_active_filter)
             win.show_all()
             response = win.run()
             # grab a safe copy of the entered text before destroy() to avoid GTK bug https://bugzilla.gnome.org/show_bug.cgi?id=613241

=== modified file 'bin/widget/view/screen_container.py'
--- bin/widget/view/screen_container.py	2010-12-21 05:18:43 +0000
+++ bin/widget/view/screen_container.py	2011-01-10 12:02:04 +0000
@@ -70,7 +70,7 @@
         sorted_filters = [[act.get('domain',act['id']),act['context'],act['name']] for act in my_acts]
         sorted_filters.sort(lambda x, y: cmp(x[2], y[2]))
         filters_list += sorted_filters
-        filters_list += [['blk','',_('--Actions--')],['sh','',_('Save as a Shortcut')],['sf','',_('Save as a Filter')],['mf','',_('Manage Filters')]]
+        filters_list += [['blk','',_('--Actions--')],['sf','',_('Save as a Filter')],['mf','',_('Manage Filters')]]
         for index, action in enumerate(filters_list):
             if action[-1] == action_name:
                 active = index

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to