Closed (fixed)
Project:
Commerce Invoice Receipt
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2014 at 18:23 UTC
Updated:
20 Aug 2016 at 08:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
BernieCram commentedHi Hockey2112
It sounds like the view edit shortcut which is provided by 'contextual links' module not by this module. The default permission will be that only a user with administrator role will be able to see the shortcut, so it is not something which you need to worry about unless you have gone on a permissions granting spree.
Check the permissions you have set for it at /admin/people/permissions
Bernie
Comment #2
dagleesComment #3
mstrelan commentedSorry to reopen this, but using the "Email the invoice" feature of this module an administrator with permission to view contextual links can send the invoice to the customer, or to any other email address. The resulting email includes the "Edit view" link. This is not due to frivolous permission granting. Attached patch suppresses views contextual links.
Comment #4
joshua.howell commentedThe attached patch only suppresses it in the print function, you also need to add the code to the commerce_invoice_receipt_mail function.
Comment #5
mstrelan commentedHere's a new patch that suppresses the link twice.
Comment #6
dasginganinjaMarking as RTBC. The latest patch is against 1.x-dev, not 1.1.
Comment #7
aramboyajyan commentedCommitted, will be up shortly.
Thanks everyone!
Comment #10
hgoto commentedThis issue was solved in the dev version but there's no stable release yet after the commit. So I'd like to share the quick fix without the patch for future visitors.
You can remove the extra "Edit view" link by changing the Views view setting. The view is titled "Line items (Commerce Line Item)".
http://example.com/admin/structure/views/view/commerce_line_item_table/e...
Visit the setting page and open the "Advanced" section. And change the "Hide contextual links" to "Yes" and save the view. Then, you'll no longer see the contextual link for this.
Comment #11
aramboyajyan commentedI seem to be the only active maintainer at the moment but I don't have enough permissions for creating a new release. I already contacted the project owner and asked for those permissions; as soon as I get them, I will create a new release.
Comment #12
hgoto commented@aramboyajyan thank you very much for your reaction. I'm looking forward to seeing the new release.