[l10n_br_stock] onchange_partner_in error: AttributeError: 'Field partner_id not found in browse_record(res.company, 2)'

Bug #792573 reported by Raphaël Valyi - http://www.akretion.com
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenERP Brazilian Portuguese Localization (pt_BR)
Fix Released
Undecided
Renato Lima - http://www.akretion.com

Bug Description

para reproduzir: novo picking de saida para ser faturado. A caegoria de operaçao fiscal ja esta e a operaçao fiscal tb. Se vc mudar o enreço do picking, aparece esse erro:

  File "/opt/openerp-trunk/server/bin/osv/osv.py", line 122, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/opt/openerp-trunk/server/bin/osv/osv.py", line 176, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/opt/openerp-trunk/server/bin/osv/osv.py", line 167, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/opt/openerp-trunk/addons/l10n_br_stock/stock.py", line 58, in onchange_partner_in
    company_addr = self.pool.get('res.partner').address_get(cr, uid, [obj_company.partner_id.id], ['default'])
  File "/opt/openerp-trunk/server/bin/osv/orm.py", line 294, in __getattr__
    raise AttributeError(e)
AttributeError: 'Field partner_id not found in browse_record(res.company, 2)'

Changed in openerp.pt-br-localiz:
assignee: nobody → Renato Lima - http://www.akretion.com (renatonlima)
status: New → Fix Released
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.