c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #29878
[Bug 781505] Re: object crm.case doesn't exist
Hello Phong,
You are right,when we use grep command we can find the crm.case object
in offical addons also.
The crm_case is a python object not osv.osv so we can not directly use
it. But when we want to use it we just passed this python object's
reference.
According to your comment#7 we would find the crm.case in following places in offical addons.
addons/crm/report/report_businessopp.py
addons/crm/crm_report.xml
addons/crm/wizard/wizard_history_event.py
addons/crm/wizard/crm_send_email.py
addons/crm_fundraising/crm_fundraising.py
addons/crm_claim/crm_claim.py
But we are passing this python object as a reference like class
crm_fundraising(crm.crm_case, osv.osv): and,class
crm_claim(crm.crm_case, osv.osv):
So this will never create any problems.
But you have faced the problem in extra-addons where this reference
doesn't passed.
So for official addons I am closing this bug.
If you still faced any problem in official addons then you can repent
this with proper producible steps.
Thanks for understanding!
** Changed in: openobject-addons
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/781505
Title:
object crm.case doesn't exist
Status in OpenERP Modules (addons):
Invalid
Bug description:
This is my herited view
<!-- vue heritee de la fiche formulaire des pistes CRM -->
<record model="ir.ui.view" id="ap_crm_lead_form_inherit">
<field name="model">crm.lead</field>
<field name="name">ap.crm.lead.form.inherit.view</field>
<field name="type">form</field>
<field name="inherit_id" ref="crm.crm_case_form_view_leads"/>
<field name="arch" type="xml">
<field name="partner_name" position="after">
<!--<field name="ref"/>-->
</field>
</field>
</record>
I have a message error (in popup) : "Object crm.case dosn't exist".
I've seen in code and these files:
- addons/crm/crm_report.xml
- addons/crm/wizard/wizard_history_event.py
- addons/crm_fundraising/crm_fundraising.py
call object crm.case but crm.case doesn't exist in version 6 of OpenERP (called now crm.lead)
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/781505/+subscriptions
References