dates1967 / simpleinvoices

Automatically exported from code.google.com/p/simpleinvoices
GNU General Public License v3.0
0 stars 0 forks source link

Invoices deletable even if deletion is disabled #230

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version of the product are you using?

Trunk version

The script is not checking properlly if deletion is enabled. The delete script 
checks agains 'N', while the current value is 0 or 1. Therefore it always 
considers deletion is enabled.

Although the menu gets disabled properlly this issue could cause a deletion if 
the script is called directlly.

Original issue reported on code.google.com by juanpedr...@gmail.com on 14 Mar 2012 at 5:44