Topic: "Before GRN clearing Account" message
Hi
I've just upgradaded frok 2.3.11 to 2.3.13, i tried to change the allow negative inventory checkbox in the gl_setup and I get the following error message
Before GRN Clearing Account can be changed all GRNs have to be invoiced
I guess it's because I haven't set a supplier GRN clearing account and the following line
if ((get_post('grn_clearing_act') != $grn_act)
seems to not work when it hasn't been set.
The previous code was
if ((get_post('grn_clearing_act',0) != $grn_act)
Why this change ?