[7.0] crm claims invalid domain

Bug #1153956 reported by Nicolas Bessi - Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Medium
OpenERP R&D Addons Team 1

Bug Description

Hello,

The "My Company" domain in crm claim is invalid

<filter string="My Company" icon="terp-go-home" context="{'invisible_section': False}"
domain="[('section_id.user_id.company_id','=',uid)]" help="My company"/>

uid corresponds to the user not the company. I do not think there is a variable to acces the user current company. If there is one I'm interested.
Else a function field should probably be added.

Nicolas

Related branches

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1)
importance: Undecided → Medium
status: New → Confirmed
Changed in openobject-addons:
status: Confirmed → In Progress
Revision history for this message
Jaydeep Barot(OpenERP) (jaydeep.barot-openerp) wrote :

Hello,

I have Fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1153956-jar
Revision ID: <email address hidden>
revision no :- 8921

Thanks,
Jaydeep Barot.

Changed in openobject-addons:
status: In Progress → Fix Committed
Revision history for this message
Jaydeep Barot(OpenERP) (jaydeep.barot-openerp) wrote :

Hello,

         Filter of 'My Company' is not required because 'company' is all ready given in group by menu. So, I remove this filter.

Thanks,
Jaydeep Barot.

Revision history for this message
Thibault Delavallée (OpenERP) (tde-openerp) wrote :

Fixed in 7.0 at revision 9665 (Revision ID: <email address hidden>).

Changed in openobject-addons:
status: Fix Committed → 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.