[REF] stock_account: make property_stock_journal required in the view
As journal_id is required on an account move, this field should not be treated differently as the other accounting fields on this view. task-1875873
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<field name="property_stock_account_input_categ_id" domain="[('deprecated', '=', False)]" attrs="{'required':[ ('property_valuation', '=', 'real_time')]}" />
|
||||
<field name="property_stock_account_output_categ_id" domain="[('deprecated', '=', False)]" attrs="{'required':[ ('property_valuation', '=', 'real_time')]}" />
|
||||
<field name="property_stock_valuation_account_id" options="{'no_create': True}" domain="[('deprecated', '=', False)]" attrs="{'required':[ ('property_valuation', '=', 'real_time')]}"/>
|
||||
<field name="property_stock_journal"/>
|
||||
<field name="property_stock_journal" attrs="{'required':[ ('property_valuation', '=', 'real_time')]}" />
|
||||
</group>
|
||||
</group>
|
||||
<group name="account_property" position="before">
|
||||
|
||||
Reference in New Issue
Block a user