Skip to content
Snippets Groups Projects
Commit 8b0169f4 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: [ bug #991 ] Error when adding a product in POS when no Tax is

associated to the country of the company
parent d8778ce0
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,9 @@ function calcul_price_total($qty, $pu, $remise_percent_ligne, $txtva, $uselocalt
$result=array();
// Clean parameters
if (empty($txtva)) $txtva=0;
if (empty($seller) || ! is_object($seller))
{
if (! is_object($mysoc)) // mysoc may be not defined (during migration process)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment