[FIX] stock_account: correct syntax error introduced during previous forward-port

This commit is contained in:
Christophe Simonis
2017-08-31 00:28:01 +02:00
parent 600d015938
commit b19f22cb97
@@ -9,6 +9,3 @@ class StockConfigSettings(models.TransientModel):
module_stock_landed_costs = fields.Boolean("Landed Costs",
help="Affect landed costs on receipt operations and split them among products to update their cost price.")
if self.user_has_groups('stock.group_stock_manager') and self.user_has_groups('base.group_system'):
self = self.sudo()