← Back to team overview

openerp-india team mailing list archive

[Bug 1082597] [NEW] crash on create procurement

 

Public bug reported:

When a message from creation procurement has more of 64 char,
procurement.py creshes.

I solved with this modify:

### cr.execute('update procurement_order set message=%s where id=%s', (message, procurement.id))
cr.execute('update procurement_order set message=%s where id=%s', (message[:64], procurement.id))

Thanks

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1082597

Title:
  crash on create procurement

Status in OpenERP Addons (modules):
  New

Bug description:
  When a message from creation procurement has more of 64 char,
  procurement.py creshes.

  I solved with this modify:

  ### cr.execute('update procurement_order set message=%s where id=%s', (message, procurement.id))
  cr.execute('update procurement_order set message=%s where id=%s', (message[:64], procurement.id))

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1082597/+subscriptions


Follow ups

References