To give a bit more information : while the page loads (2 minutes), I monitor the cache directory on the server : it stays empty for the whole 2 minutes, then, as soon as the page is displayed in the browser, I see that the 2 files were created (.cac…
I see you didn't want to include the "active" column
In other places in the Module class, it checks for both "published" and "active" columns, so I thought it was more consistent, but, it's up to you
Did several tests :
1) if the column is named "published"
the yes/no toggle appears BUT, if a user does not have the publish permissions, he can still toggle between yes and no
2) if the column is named "publish"
the yes/no toggle do…
I agree, it's just that if the column is named "active", the permission will not apply to that column which allows you to toggle between yes/no.
And if it is named "publish", the toggle function does not appear
What I would like to do :
* when i create a new invoice in the invoice module, I have a dropdown list with all the customers, and when I select a customer, I would like to fill in the address fields from the invoice with the address values from…
I looked in the code, and I think I found what needs to be done (no 'facture_items' in the array) :
$my_values['description']="Banana"; $my_values['quantity']="1"; $my_values['price']="450"; $my_values['description']="Apple"; $my_valu…
Thanks for your quick response !
I have tried to set $my_values as so :
$my_values=array(); $my_values['facture_items']['description']="Banana"; $my_values['facture_items']['quantity']="1"; $my_values['facture_items']['price']="50";