[6.0] [widget spinint & spinbutton] can enter text

Bug #879119 reported by Moisés López - http://www.vauxoo.com
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Status tracked in Trunk
6.0
Fix Released
Medium
OpenERP Publisher's Warranty Team
Trunk
Fix Released
Medium
OpenERP sa GTK client R&D

Bug Description

1) Open openerp-client-gtk, open a view with a fields.integer or fields.float, type text.
2) Allow type text
3) Not allow type text
4) Ubuntu-10, python2.6, client-gtk-6.0
5) client-gtk-6.0
       revno 1887
    version_id with the problem
      hda@hda-laptop-20110907064055-i0qe4wr0o6ybgg6p
Line removed self.widget.set_numeric(True)

Tags: maintenance

Related branches

Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Open GTK.

ANd try write text on a spin (float ) widget, this is wrong, befor is was locked and it changed, why?

Changed in openobject-client:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 6.0.4
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Nhomar,

Let me throw some light on this. You statement *before is was locked* is absolutely right but did you had your fields.float show you the numbers with *Thousand Separators* before ......No

We had such issues reported(almost 6-7 see duplicates) in trunk from the users of OpenERP who were missing this feature:https://bugs.launchpad.net/openobject-client/+bug/697625 (Well comment #1 is from you *+1 I'm totally agree.*)
So to full fill this feature the trunk client had this feature implemented at revision-info :1808 <email address hidden> which was eventually back ported to stable too at 1887:hda@hda-laptop-20110907064055-i0qe4wr0o6ybgg6p

BTW your text values will not be accepted by the widgets they will default to 0.0 or 0

Correct me if i missed something !

regards,

Changed in openobject-client:
status: Confirmed → Invalid
Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote : RE: [Bug 879119] Re: [6.0] [widget spinint & spinbutton] can enter text

Hello

Just for information, in some gtk's widget you can set a mask with regex.
We will propose a solution with regex with the miles & decimal format language...

> Date: Fri, 21 Oct 2011 11:58:45 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 879119] Re: [6.0] [widget spinint & spinbutton] can enter text
>
> Hello Nhomar,
>
> Let me throw some light on this. You statement *before is was locked* is
> absolutely right but did you had your fields.float show you the numbers
> with *Thousand Separators* before ......No
>
> We had such issues reported(almost 6-7 see duplicates) in trunk from the users of OpenERP who were missing this feature:https://bugs.launchpad.net/openobject-client/+bug/697625 (Well comment #1 is from you *+1 I'm totally agree.*)
> So to full fill this feature the trunk client had this feature implemented at revision-info :1808 <email address hidden> which was eventually back ported to stable too at 1887:hda@hda-laptop-20110907064055-i0qe4wr0o6ybgg6p
>
> BTW your text values will not be accepted by the widgets they will
> default to 0.0 or 0
>
>
> Correct me if i missed something !
>
> regards,
>
> ** Changed in: openobject-client
> Status: Confirmed => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/879119
>
> Title:
> [6.0] [widget spinint & spinbutton] can enter text
>
> Status in OpenERP GTK Client:
> Invalid
>
> Bug description:
> 1) Open openerp-client-gtk, open a view with a fields.integer or fields.float, type text.
> 2) Allow type text
> 3) Not allow type text
> 4) Ubuntu-10, python2.6, client-gtk-6.0
> 5) client-gtk-6.0
> revno 1887
> version_id with the problem
> hda@hda-laptop-20110907064055-i0qe4wr0o6ybgg6p
> Line removed self.widget.set_numeric(True)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-client/+bug/879119/+subscriptions

Changed in openobject-client:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Hello.

We already made fixes and propose for merge.

We made 2 merge proposas to solve the ticket, one for v6.0 and other for v6.1, can you verify this please.
https://code.launchpad.net/~vauxoo/openobject-client/trunk-bug-879119-moylop260/+merge/80235
https://code.launchpad.net/~vauxoo/openobject-client/6.0-bug-879119-moylop260/+merge/80234

Thx

Changed in openobject-client:
status: Invalid → Confirmed
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

Hello Nhomar,

Thanks for your contribution ! The improvements has been merged at trunk client with revision-info:2000 <email address hidden>

Regards,

Revision history for this message
Moisés López - http://www.vauxoo.com (moylop260) wrote :

Gracias Naresh

Revision history for this message
Olivier Laurent (Open ERP) (olt) wrote :

Fixed in r1919

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.