Disable invoice creation after sale / receiving completion (#619)

This commit is contained in:
jekkos
2016-06-09 22:29:41 +02:00
parent e6c173dcdc
commit aae02dc060
2 changed files with 2 additions and 0 deletions

View File

@@ -353,6 +353,7 @@ class Receiving_lib
function clear_all()
{
$this->set_invoice_number_enabled(FALSE);
$this->clear_mode();
$this->empty_cart();
$this->delete_supplier();

View File

@@ -535,6 +535,7 @@ class Sale_lib
function clear_all()
{
$this->set_invoice_number_enabled(FALSE);
$this->clear_mode();
$this->empty_cart();
$this->clear_comment();