Merge pull request #4230 from expsa/younes_dev_odex25_ensan

IMP benefit
This commit is contained in:
kchyounes19 2025-08-18 13:29:05 +01:00 committed by GitHub
commit 3023ba103f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 22 additions and 22 deletions

View File

@ -738,6 +738,28 @@
</tree>
</field>
</page>
<page string="Attachments">
<field name="attachment_ids" widget="one2many_list"
attrs="{'readonly':[('state','not in',['draft','new','complete_info','edit_info'])]}">
<tree editable="bottom" delete="0">
<field name="name" attrs="{'readonly':[('is_default','=',True)]}"
force_save="1"/>
<field name="datas" widget="binary" filename="attachment_file_name"/>
<button name="action_preview_attachment" type="object"
string="Preview Attachment"/>
<field name="expiration_date"/>
<field name="attach_status"/>
<field name="allow_days"/>
<field name="benefit_id" invisible="1"/>
<field name="is_required" invisible="1"/>
<field name="is_default" invisible="1"/>
</tree>
</field>
<group>
<field name="required_attach"
attrs="{'required':[('state','not in',['draft','new'])]}"/>
</group>
</page>
<page string="Housing information">
<form string="Housing">
<sheet>
@ -1083,28 +1105,6 @@
attrs="{'readonly': [('state', '=', 'black_list')]}"/>
<field name="black_list_message"/>
</page>
<page string="Attachments">
<field name="attachment_ids" widget="one2many_list"
attrs="{'readonly':[('state','not in',['draft','new','complete_info','edit_info'])]}">
<tree editable="bottom" delete="0">
<field name="name" attrs="{'readonly':[('is_default','=',True)]}"
force_save="1"/>
<field name="datas" widget="binary" filename="attachment_file_name"/>
<button name="action_preview_attachment" type="object"
string="Preview Attachment"/>
<field name="expiration_date"/>
<field name="attach_status"/>
<field name="allow_days"/>
<field name="benefit_id" invisible="1"/>
<field name="is_required" invisible="1"/>
<field name="is_default" invisible="1"/>
</tree>
</field>
<group>
<field name="required_attach"
attrs="{'required':[('state','not in',['draft','new'])]}"/>
</group>
</page>
<page string="Bank Account Information" groups="odex_benefit.group_benefit_bank_info">
<form>
<sheet>