[IMP] improved the help of field and arranged the boolean fields in allignment

bzr revid: bde@tinyerp.com-20120124083941-ceit7bfernvzf8c8
This commit is contained in:
Bharat Devnani (OpenERP) 2012-01-24 14:09:41 +05:30
parent 87921b4e5b
commit 2fd87846ee
2 changed files with 5 additions and 8 deletions

View File

@ -42,7 +42,7 @@ class l10n_be_vat_declaration(osv.osv_memory):
_columns = {
'name': fields.char('File Name', size=32),
'period_id': fields.many2one('account.period','Period', required=True),
'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], help="Keep empty to use the company from partner"),
'tax_code_id': fields.many2one('account.tax.code', 'Tax Code', domain=[('parent_id', '=', False)], help="Keep empty to use the user company"),
'msg': fields.text('File created', size=64, readonly=True),
'file_save': fields.binary('Save File'),
'ask_restitution': fields.boolean('Ask Restitution',help='It indicates whether a resitution is to made or not?'),

View File

@ -22,17 +22,14 @@
<field name="other" attrs="{'invisible':[('identification_type','!=','other')], 'required':[('identification_type','=','other')]}"/>
<field name="tax_code_id" string="Company" widget="selection" groups="base.group_multi_company"/>
<newline/>
<field name="ask_restitution"/>
<field name="ask_payment"/>
<field name="client_nihil" string="Is Last Declaration"/><label/>
</group>
<group>
<field name="ask_restitution" colspan="1"/>
<field name="ask_payment" colspan="1"/>
<field name="client_nihil" string="Is Last Declaration" colspan="1" /><label/>
<newline/>
<group colspan="4">
<separator string="Comments" colspan="4"/>
<field colspan="4" name="comments" nolabel="1"/>
</group>
<newline/>
<group>
<separator colspan="4"/>
<newline/>