"Start Production" fails in edit mode of a Manufacturing Order

Bug #694717 reported by Fabien Meghazi (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Medium
Unassigned

Bug Description

In manufacturing orders, edit a record with state "Ready to produce"

Click on "Start Production".

The following exception occurs :

Traceback (most recent call last):
  File "/home/amigrave/openerp/bazaar/server-trunk/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/amigrave/openerp/bazaar/server-trunk/bin/service/web_services.py", line 598, in dispatch
    res = fn(db, uid, *params)
  File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/orm.py", line 3482, in write
    upd1.append(self._columns[field]._symbol_set[1](vals[field]))
  File "/home/amigrave/openerp/bazaar/server-trunk/bin/osv/fields.py", line 178, in <lambda>
    _symbol_f = lambda x: __builtin__.float(x or 0.0)
TypeError: float() argument must be a string or a number

Changed in openobject-client-web:
assignee: nobody → OpenERP SA's Web Client R&D (openerp-dev-web)
milestone: 6.0-rc2 → none
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello Fabien Meghazi (OpenERP),

Its working fine with the latest code. Please update your code.

Trunk web-client :4193
Addons : 4066
Server : 3156

Thank you.

Changed in openobject-client-web:
status: Confirmed → Fix Released
milestone: none → 6.0-rc2
sunheng (sunheng2201)
Changed in openobject-client-web:
assignee: OpenERP R&D Web Team (openerp-dev-web) → sunheng (sunheng2201)
assignee: sunheng (sunheng2201) → nobody
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.