[FIX/USA] Usabality Impovments ans Import error fixed
bzr revid: jam@tinyerp.com-20120827072743-v022e5obnd06csoy
This commit is contained in:
parent
20ee040c6c
commit
6ad7a5a4b0
|
@ -33,7 +33,7 @@ class res_company(osv.Model):
|
|||
('pro', 'Pro'),
|
||||
('ultra', 'Ultra')], "Tier types", required=True),
|
||||
"gengo_comment": fields.text("comments"),
|
||||
"gengo_auto_approve": fields.boolean("Active", help="Jobs are Automatically Approved by Gengo."),
|
||||
"gengo_auto_approve": fields.boolean("Auto Approve Translation ?", help="Jobs are Automatically Approved by Gengo."),
|
||||
"fields_ids": fields.many2many('ir.model.fields', 'fields_company_rel', 'field_id', 'model_id', 'fields'),
|
||||
}
|
||||
|
||||
|
|
|
@ -11,11 +11,11 @@
|
|||
<xpath expr="//notebook[last()]" position="inside">
|
||||
<page string="Gengo Parameters">
|
||||
<group col="2">
|
||||
<group col="1" string="Private Key">
|
||||
<field name="gengo_private_key" nolabel="1"/>
|
||||
</group>
|
||||
<group col="1" string="Public Key">
|
||||
<field name="gengo_public_key" nolabel="1"/>
|
||||
<field name="gengo_public_key" nolabel="1" placeholder="Add Gengo login Public Key..."/>
|
||||
</group>
|
||||
<group col="1" string="Private Key">
|
||||
<field name="gengo_private_key" nolabel="1" placeholder="Add Gengo login Private Key..."/>
|
||||
</group>
|
||||
</group>
|
||||
<group col="4">
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
from osv import osv
|
||||
import logging
|
||||
import tools
|
||||
from tools.translate import _
|
||||
|
||||
_logger = logging.getLogger(__name__)
|
||||
try:
|
||||
from mygengo import MyGengo
|
||||
|
|
Loading…
Reference in New Issue