YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.68k stars 727 forks source link

[bug] Argument 1 passed to Vtiger_Discount_InventoryField::getDiscountValue() must be of the type array, null given, called in /.../.../modules/Vtiger/inventoryfields/Discount.php on line 93 #11483

Closed mad99 closed 4 years ago

mad99 commented 4 years ago

Hi, I would like to use/try the «correcting invoice» for build a workflow with deposit/part-paying possibilities for our customers.

Unfortunately I got a error-throwing when I use the «correcting invoice» in YetiForce 5.2.

  1. Go to «accounting» > «correction invoice»
  2. Choose «Add record»
  3. Write a «Subject« text
  4. Choose an Account
  5. Choose an Invoice
  6. Click on «Copy from initial invoice»
  7. Add a new Item with Magnifying Glass
  8. Press «Save»

Error is throwing:

Also if I

  1. delete the automatic created empty item (with click on red bin)
  2. Press «Save»

Error is throwing:

Argument 1 passed to Vtiger_Discount_InventoryField::getDiscountValue() must be of the type array, null given, called in /../../modules/Vtiger/inventoryfields/Discount.php on line 93

Both time I did NO CHANGE or TEXT in Discount-Field!

Would like to try, if I could create a «correction invoice» as workaround for part-paying/deposit.

Hope you can fix the bug/error with my information. And hopefully I will find a solution to build a workflow with YetiForce and Part-Paying/Deposit for customers (https://github.com/YetiForceCompany/YetiForceCRM/issues/11467).

Regards Martin

mad99 commented 4 years ago

With new Records no Error anymore!