Invalid literal for int() in sequence with prefix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Addons Team 2 |
Bug Description
V6RC1 with client GTK under windows seven.
Openerp-server installeed on a debian 64 machine
Prb : I've modified the sequence for the Packs objects specifying a prefix with string : "UM"
Know when I create a new pack, i have the following error :
Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_FR.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc2-test
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/openerp/
result = ExportService.
File "/openerp/
res = fn(db, uid, *params)
File "/openerp/
return f(self, dbname, *args, **kwargs)
File "/openerp/
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/openerp/
return getattr(object, method)(cr, uid, *args, **kw)
File "/openerp/
defaults[f] = self._defaults[
File "/openerp/
return sequence + str(self.
File "/openerp/
sum += int(sscc_part) * int(salt_part)
ValueError: invalid literal for int() with base 10: 'U'
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 54 lines (+9/-3)2 files modifiedmrp_operations/mrp_operations.py (+8/-2)
product/product.py (+1/-1)
Changed in openobject-addons: | |
status: | New → Triaged |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Medium |
status: | Triaged → Confirmed |
fixed in trunk.