Vanlombardi Posted June 15, 2017 Share Posted June 15, 2017 Hello guys,I just made a simple module for my customer so he can delete invoices without accessing database.The plugin shows a table with all invoices and the main concept is to remove the db entry when "Delete" action is cliked. But the following error pops up:"An error occurred while deleting the object. order_invoice (cannot load object)" Do i have to define the delete action logic somewhere? Thought those default actions were already defined. I'm having trouble to find documentation aside from the basic module set up from prestashop docs.Thank you! Link to comment Share on other sites More sharing options...
Vanlombardi Posted June 16, 2017 Author Share Posted June 16, 2017 Okey, made it adding the method processDelete(). Did not found this on the docs, anyone knows nice prestashop documentation? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now