can't send a mail to partner from Send followups wizard

Bug #898619 reported by Mayur Maheshwari(OpenERP)
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 3

Bug Description

install acount_followup module
step -- --> go to Accounting/Periodical Processing/Billing/Send followups open wizard and click continue then add a partner in second wizard and click on send mail button so
it's give a error like "AttributeError: 'Field partner_id not found in browse_record(account_followup.stat, 200001)'"

addons = 5837
client = 2015
server = 3836

i put a traceback here
---------------------------------
Traceback (most recent call last):
  File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 120, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 172, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/osv.py", line 163, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/mma/home/workplace/rdtools/addons/trunk/account_followup/wizard/account_followup_print.py", line 231, in do_mail
    partners.append(line.partner_id)
  File "/home/mma/home/workplace/rdtools/server/trunk-configrework2-create-products-mma/openerp/osv/orm.py", line 478, in __getattr__
    raise AttributeError(e)
AttributeError: 'Field partner_id not found in browse_record(account_followup.stat, 200001)'

Related branches

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Bharat Devnani (Open ERP) (bde-openerp) wrote :

Hello Mayur Maheshwari,

Thanks for reporting, the solution of this bug is proposed in
branch lp:~openerp-dev/openobject-addons/trunk-bug-898619-bde
with following Revision ID and Number:

Revision ID : <email address hidden>
Revision Number : 5893

The solution will be merged in main addons soon.

Thanks & Regards,
Devnani Bharat R.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Raphael Collet (OpenERP) (rco-openerp) wrote :

landed in trunk
revno: 5982
revision-id: <email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
Revision history for this message
qdp (OpenERP) (qdp) wrote :

the correct fix landed in revision 6533
revision-id: <email address hidden>

Please pay attention to comments when you touch code you don't understand! That "meaningless" id was necessary to deal with multi company environment, and moreover your patch included a new bug that disallow to simply open the wizard.

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.