mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[IMP] hide the siret in edit mode to replace it with the siren+nic. Works only with a patched web client - see lp:~numerigraphe-team/openerp-web/7.0-hide-oe_view_only
This commit is contained in:
@@ -10,8 +10,10 @@
|
||||
<page string="Accounting" position="inside">
|
||||
<group>
|
||||
<group col="4">
|
||||
<field name="siret" colspan="4"/>
|
||||
<field name="siren" class="oe_edit_only oe_inline" string="SIREN/NIC" colspan="3"/>
|
||||
<!-- oe_view_only hides the field in edit mode if this patch applied:
|
||||
lp:~numerigraphe-team/openerp-web/7.0-hide-oe_view_only -->
|
||||
<field name="siret" colspan="4" class="oe_view_only" />
|
||||
<field name="siren" class="oe_edit_only" string="SIREN/NIC" colspan="3"/>
|
||||
<field name="nic" class="oe_edit_only" nolabel="1"/>
|
||||
</group>
|
||||
<group>
|
||||
|
||||
Reference in New Issue
Block a user