hide create when creation is not allowed (including analysis views)

Bug #1005883 reported by Kunal Chavda
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web (MOVED TO GITHUB)
Confirmed
Wishlist
OpenERP R&D Web Team

Bug Description

create and delete(under More selection) buttons should not be on any analysis view under the main reporting menu.
By clicking on it its not working is right but it should not be shown there.
e.g. Reporting/Sales/Leads Analysis

Thanks,
Kunal Chavda

Related branches

Amit Parik (amit-parik)
Changed in openerp-web:
assignee: nobody → OpenERP R&D Web Team (openerp-dev-web)
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Fabien (Open ERP) (fp-tinyerp) wrote :

We have a task in our internal system, so I close this bug temporarily so that the bugfix team do not work on it.

Changed in openerp-web:
status: Confirmed → Invalid
Revision history for this message
Nicolas Vanhoren (OpenERP) (niv-openerp) wrote :

Doesn't seem to be a web client bug, I assign it to addons' team.

Changed in openerp-web:
status: Invalid → Confirmed
affects: openerp-web → openobject-addons
Changed in openobject-addons:
assignee: OpenERP R&D Web Team (openerp-dev-web) → OpenERP R&D Addons Team 3 (openerp-dev-addons3)
Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Nicolas,

It's not a addons issue that we have to hide a "Create" and "delete" buttons for all analysis report (sql report).

Create and "delete" buttons are coming form web side, So how can we hide it from addons side.

More information I have attached the screen-shot which will clearly describe that bug reporter said about which button. So would you please check it, and again I am transferring this to web side.

Thank you!

Revision history for this message
Amit Parik (amit-parik) wrote :
affects: openobject-addons → openerp-web
Changed in openerp-web:
assignee: OpenERP R&D Addons Team 3 (openerp-dev-addons3) → OpenERP R&D Web Team (openerp-dev-web)
summary: - create and delete button should not be on any analysis view under the
- main reporting menu.
+ create and delete button should not be display on any posgres report
Revision history for this message
Antony Lesuisse (OpenERP) (al-openerp) wrote : Re: create and delete button should not be display on any posgres report

It is specfied in the task "fields view get access rights" in the RD Belgium project. field_view_get will return acl information and we will hide button according to that.

Changed in openerp-web:
importance: Low → Wishlist
summary: - create and delete button should not be display on any posgres report
+ hide create when creation is not allowed (including analysis views)
Revision history for this message
Farid Ghanchi (gfarid) wrote :

Hello
I had fixed this bug in this branch lp:~openerp-commiter/openerp-web/trunk-bug-1005883-ggh..
Thanks...

Farid Ghanchi (gfarid)
Changed in openerp-web:
status: Confirmed → Fix Committed
Changed in openerp-web:
status: Fix Committed → Confirmed
Revision history for this message
Farid Ghanchi (gfarid) wrote :

Hello
I had added revision for this bug in this branch lp:~openerp-commiter/openerp-web/trunk-bug-1005883-ggh..
Thanks...

Changed in openerp-web:
status: Confirmed → Fix Committed
Changed in openerp-web:
status: Fix Committed → Fix Released
Revision history for this message
Ronald Portier (Therp) (rportier1962) wrote :

It should really be much more easy - using the view xml - to hide the standard buttons (create, duplicate, delete...) where they do not apply. Just like any other button added in the xml itself: that is either unconditionally, or according to state, user, group....

Changed in openerp-web:
status: Fix Released → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.