CRM Lead/Opportunity Category : new entry disappears! (missing context)

Bug #663749 reported by Mike
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
Rucha (Open ERP)

Bug Description

Using version v6.0.0-rc1. Windows All In One.

When you goto Sales->Configuration->Leads & Opportunitys->Categories and Click New
Upon creation of a new category it will 'dissapear' within the system.
Upon examination of the database table crm_case_categ it is creating the case row in the database but the object_id and section_id are not set hence the category is failing to appear on the categories list or within the lead.

The following modules are installed.

Name Category Short Description Author Latest version Installed version State
base Base Base OpenERP SA 6.0.1.2 6.0.1.2 installed
base_action_rule Others Action Rule OpenERP SA 6.0.1.0 6.0.1.0 installed
base_calendar Others Basic Calendar Functionality OpenERP SA 6.0.1.0 6.0.1.0 installed
base_setup Base Base Setup OpenERP SA 6.0.1.0 6.0.1.0 installed
board Base Dashboard main module OpenERP SA 6.0.1.0 6.0.1.0 installed
caldav Others Share Calendar using CalDAV OpenERP SA 6.0.1.1 6.0.1.1 installed
crm CRM & SRM Customer & Supplier Relationship Management OpenERP SA 6.0.1.0 6.0.1.0 installed
crm_caldav CRM & SRM Extened Module to Add CalDav future on Meeting OpenERP SA 6.0.1.1 6.0.1.1 installed
crm_helpdesk CRM & SRM CRM Helpdesk OpenERP SA 6.0.1.0 6.0.1.0 installed
document Others Integrated Document Management System OpenERP SA 6.0.2.0 6.0.2.0 installed
document_ftp Others Integrated FTP Server with Document Management System OpenERP SA 6.0.1.99 6.0.1.99 installed
document_webdav Others WebDAV server for Document Management OpenERP SA 6.0.2.2 6.0.2.2 installed
fetchmail Uncategorized Fetchmail Server OpenERP SA 6.0.1.0 6.0.1.0 installed
knowledge Uncategorized Knowledge Management System OpenERP SA 6.0.1.0 6.0.1.0 installed
mail_gateway Mail Service Email Gateway System OpenERP SA 6.0.1.0 6.0.1.0 installed
outlook Outlook interface Outlook Interface OpenERP SA 6.0.1.0 6.0.1.0 installed
process Base Enterprise Process OpenERP SA 6.0.1.0 6.0.1.0 installed
resource Projects & Services Resource OpenERP SA 6.0.1.1 6.0.1.1 installed

Related branches

Changed in openobject-addons:
milestone: none → 6.0-rc2
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote : Re: CRM Category : Missing object_id field makes the new entry disappear!

This is due to object_id field being put in 'invisible' mode.
Thanks for reporting.

summary: - crm category not creating correctly
+ CRM Category : Missing object_id field makes the new entry disappear!
Changed in openobject-addons:
assignee: nobody → Harry (Open ERP) (hmo-tinyerp)
Changed in openobject-addons:
assignee: Harry (Open ERP) (hmo-tinyerp) → rpa (Open ERP) (rpa-openerp)
status: Confirmed → In Progress
summary: - CRM Category : Missing object_id field makes the new entry disappear!
+ CRM Lead/Opportunity Category : new entry disappears! (missing context)
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Hello Mike,
Thanks for reporting,
It has been fixed in trunk:
revision no: 4447
revision-id: <email address hidden>
BTW the problem was not due to missing/invisible object_id!
Thanks

Changed in openobject-addons:
status: In Progress → Fix Released
Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

i steal disagree.
look at the code
A. 'crm_case_categ-view', bad naming convention, might be 'form' should add.
B. network traffic added by passing context.why fix by contaxt? we solved it by removing invisible atribute
C. 'exclusif': fields.boolean('Exclusive'). do the word exclusif exist?

sory for my bad english :D :D

Revision history for this message
Olivier Dony (Odoo) (odo-openerp) wrote :

Hello,

B. We think the object_id field is an implementation detail that should be hidden to end-users, as most newcomers will be confused by this [seemingly redundant] field. Don't worry about the few bytes added to the network packets, this is negligible, we're not counting bytes there :-) What matters is the number of requests and the time it takes to process them on server-side.

A. and C. : I agree, and these are worth a separate wishlist bug or a merge proposal with the fix, but I think they are unrelated to the bug at hand.

Thank you for your feedback! :-)

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.