Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.6.0-b1
-
Component/s: None
-
Labels:None
Description
To reproduce:
- Enter the database and remove the company setting for "tax_intra_eu_uk_vat" (this replicates the state of some installations after upgrade/install)
- Create a client with the country "United Kingdom"
- Create a taxed invoice
- Attempt to deliver the invoice
- Check the log files and find the warning "Undefined index: tax_intra_eu_uk_vat"
To see if the setting exists, run:
SELECT * FROM `company_settings` WHERE `key` LIKE 'tax_intra_eu_uk_vat'
If it does not, run this to add the missing setting as a hotfix
INSERT INTO `company_settings` (`key`, `company_id`, `value`, `encrypted`, `inherit`) VALUES ('tax_intra_eu_uk_vat', '1', 'false', '0', '1')