[IMP] account: do not hide Journal and Period in Journal Items
The Journal field is not hidden anymore when filtering on the 'journal_id'. The reason is that the filter might correspond to several journals. Therefore it is not possible to know what is the journal corresponding to a given journal item. The same is applied to the Period. Fixes #7793 opw-646292
This commit is contained in:
parent
f0cfc7c01e
commit
bac0c395ae
|
@ -1197,8 +1197,8 @@
|
|||
<field eval="1" name="priority"/>
|
||||
<field name="arch" type="xml">
|
||||
<tree colors="red:state == 'draft';black:state == 'valid'" string="Journal Items" create="true" on_write="on_create_write" editable="top">
|
||||
<field name="journal_id" options='{"no_open":True}' invisible="context.get('journal_id',False)"/>
|
||||
<field name="period_id" options='{"no_open":True}' invisible="context.get('period_id',False)"/>
|
||||
<field name="journal_id" options='{"no_open":True}'/>
|
||||
<field name="period_id" options='{"no_open":True}'/>
|
||||
<field name="date"/>
|
||||
<field name="name"/>
|
||||
<field name="ref"/>
|
||||
|
|
Loading…
Reference in New Issue