[FIX] base_gengo: sandbox

Link setting to company setting, otherwise it is simply not saved.

opw-803036
This commit is contained in:
Nicolas Martinelli
2018-01-10 09:40:18 +01:00
committed by Nicolas Martinelli
parent cb8a0b4575
commit 5a5a2fa796
@@ -13,5 +13,5 @@ class ResConfigSettings(models.TransientModel):
help="This comment will be automatically be enclosed in each an every request sent to Gengo")
gengo_auto_approve = fields.Boolean(string="Auto Approve Translation ?", related="company_id.gengo_auto_approve",
help="Jobs are Automatically Approved by Gengo.")
gengo_sandbox = fields.Boolean(string="Sandbox Mode",
gengo_sandbox = fields.Boolean(string="Sandbox Mode", related="company_id.gengo_sandbox",
help="Check this box if you're using the sandbox mode of Gengo, mainly used for testing purpose.")