mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[14.0][IMP] contract : show tags with colors in the contract
This commit is contained in:
@@ -140,7 +140,11 @@
|
||||
required="1"
|
||||
attrs="{'readonly': [('is_terminated','=',True)]}"
|
||||
/>
|
||||
<field name="tag_ids" widget="many2many_tags" />
|
||||
<field
|
||||
name="tag_ids"
|
||||
widget="many2many_tags"
|
||||
options="{'color_field': 'color'}"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
<group name="recurring_invoices">
|
||||
@@ -526,6 +530,11 @@
|
||||
<field name="code" />
|
||||
<field name="journal_id" groups="account.group_account_user" />
|
||||
<field name="partner_id" />
|
||||
<field
|
||||
name="tag_ids"
|
||||
widget="many2many_tags"
|
||||
options="{'color_field': 'color'}"
|
||||
/>
|
||||
<field name="active" invisible="1" />
|
||||
<field name="company_id" groups="base.group_multi_company" />
|
||||
</tree>
|
||||
|
||||
Reference in New Issue
Block a user