diff options
| author | Simon Lejeune <sle@openerp.com> | 2019-05-09 09:06:57 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-06-09 14:11:36 +0000 |
| commit | 72693c1d0a6e1053fceed4154c8d46c11917d4a3 (patch) | |
| tree | 843cff6a60491889747e1c4fb2ef8f4fa60535b6 | |
| parent | f30ca1687d31638b679c3b4df0616f31ac7d5776 (diff) | |
[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
| -rw-r--r-- | addons/stock_account/views/product_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock_account/views/product_views.xml b/addons/stock_account/views/product_views.xml index b4fd4e46503..1b9013e9e04 100644 --- a/addons/stock_account/views/product_views.xml +++ b/addons/stock_account/views/product_views.xml @@ -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"> |
