我想在创建客户时为国家/地区字段设置默认值。 是否可以为语言设置默认参数?
<div class='client-detail'>
<span class='label'>Language</span>
<select class='detail client-partner-lang' name='lang'>
<t t-foreach='widget.pos.langs' t-as='language'>
<t t-if='partner.lang == language.code'>
<option t-att-value='language.code'>
<t t-esc='language.name'/>
</option>
</t>
</t>
<t t-foreach='widget.pos.langs' t-as='language'>
<option t-att-value='language.code' t-att-selected="partner_language_id ? ((language.code === partner.lang) ? true : undefined) : undefined">
<t t-esc='language.name'/>
</option>
</t>
</select>
</div>