VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: thelordofweb on May 29, 2016, 11:56:10 AM

Title: [BUG][Taxes & Calculation Rules] Cannot change rule status.
Post by: thelordofweb on May 29, 2016, 11:56:10 AM
Summary
The system does not change the status of the rule when I click on the icon.
It works when I use the checkbox on the view for editing a rule but it does not work when I click on the icon on the list view.

Testing Instructions

VirtueMart and Joomla! versions
I use VirtueMart 3.0.16 and Joomla! 3.5.1



Title: Re: [BUG][Taxes & Calculation Rules] Cannot change rule status.
Post by: franzpeter on May 29, 2016, 14:52:59 PM
I can confirm that.  It is not implemented.
But it is easy to add: You need to edit the access.xml and insert after: <action name="vm.calc.delete" title="COM_VM_CALC_DELETE" description="COM_VM_CALC_DELETE_TIP" />
<action name="vm.calc.edit.state" title="COM_VM_CALC_EDITSTATE" description="COM_VM_CALC_EDITSTATE_TIP" />
Title: Re: [BUG][Taxes & Calculation Rules] Cannot change rule status.
Post by: thelordofweb on May 29, 2016, 15:05:28 PM
I see.
I hope to be fixed in the next release.

Thank you very much!
Title: Re: [BUG][Taxes & Calculation Rules] Cannot change rule status.
Post by: franzpeter on May 29, 2016, 15:10:40 PM
There are other ACL missing too in case of edit.state for example custom fields too.
Title: Re: [BUG][Taxes & Calculation Rules] Cannot change rule status.
Post by: Milbo on May 30, 2016, 10:41:34 AM
It is not added for views which are usually only used by administrators. I added it now for calculation rules and customs.