Khushboo Bhatt(openerp) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-traceback-issues-kbh into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-traceback-issues-kbh/+merge/136162

Hello,

  traceback issue solved for create invoice and In CRM when click on log call 
traceback.

Thanks,
KBH.
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-traceback-issues-kbh/+merge/136162
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-traceback-issues-kbh.
=== modified file 'account/account_invoice.py'
--- account/account_invoice.py	2012-11-21 10:21:37 +0000
+++ account/account_invoice.py	2012-11-26 13:05:33 +0000
@@ -457,7 +457,7 @@
             invoice_addr_id = res['invoice']
             p = self.pool.get('res.partner').browse(cr, uid, partner_id)
             if company_id:
-                if p.property_account_receivable.company_id.id != company_id and p.property_account_payable.company_id.id != company_id:
+                if p.property_account_receivable.company_id != company_id and p.property_account_payable.company_id != company_id:
                     property_obj = self.pool.get('ir.property')
                     rec_pro_id = property_obj.search(cr,uid,[('name','=','property_account_receivable'),('res_id','=','res.partner,'+str(partner_id)+''),('company_id','=',company_id)])
                     pay_pro_id = property_obj.search(cr,uid,[('name','=','property_account_payable'),('res_id','=','res.partner,'+str(partner_id)+''),('company_id','=',company_id)])

=== modified file 'crm/crm_phonecall.py'
--- crm/crm_phonecall.py	2012-10-12 12:45:13 +0000
+++ crm/crm_phonecall.py	2012-11-26 13:05:33 +0000
@@ -127,6 +127,8 @@
                 section_id = call.section_id and call.section_id.id or False
             if not user_id:
                 user_id = call.user_id and call.user_id.id or False
+            if not schedule_time:
+                schedule_time = call.date
             vals = {
                     'name' : call_summary,
                     'user_id' : user_id or False,

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : openerp-dev-gtk@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to