Revert "Remove specific price warning in manage services page"

This commit is contained in:
Shreesh Arora
2023-04-17 18:57:37 +05:30
committed by GitHub
parent 7b557e7aa6
commit f52236fabf

View File

@@ -2947,6 +2947,7 @@ class AdminNormalProductsControllerCore extends AdminController
// get hotel address for this room type
$address_infos = Address::getCountryAndState(Cart::getIdAddressForTaxCalculation($obj->id));
} else {
$this->displayWarning($this->l('You must save this product before adding specific pricing'));
$product->id_tax_rules_group = (int)Product::getIdTaxRulesGroupMostUsed();
$data->assign('ecotax_tax_excl', 0);
}