From a178835f6ba2e63f138922d0342af2cda4d41fcb Mon Sep 17 00:00:00 2001 From: Etienne Roudeix Date: Mon, 9 Sep 2013 11:31:41 +0200 Subject: [PATCH] tax faker --- install/faker.php | 1 + 1 file changed, 1 insertion(+) diff --git a/install/faker.php b/install/faker.php index f1e7691d7..a2f52654e 100755 --- a/install/faker.php +++ b/install/faker.php @@ -371,6 +371,7 @@ function createProduct($faker, $category, $position, &$productIdList) $product->addCategory($category); $product->setVisible(rand(1, 10)>7 ? 0 : 1); $product->setPosition($position); + $product->setTaxRuleId(1); setI18n($faker, $product); $product->save();