Allow stock_request_submit to be installed from stock_request

This commit is contained in:
hveficent
2019-08-01 13:12:54 +02:00
committed by hveficent
parent fae5880e1b
commit bca6f8f848
2 changed files with 15 additions and 0 deletions

View File

@@ -21,3 +21,6 @@ class ResConfigSettings(models.TransientModel):
module_stock_request_analytic = fields.Boolean(
string='Stock Requests Analytic integration')
module_stock_request_submit = fields.Boolean(
string='Submitted state in Stock Requests')

View File

@@ -41,6 +41,18 @@
</div>
</div>
</div>
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_stock_request_submit"/>
</div>
<div class="o_setting_right_pane">
<label string="Enable Submitted State"
for="module_stock_request_purchase"/>
<div class="text-muted">
Add State to Stock Request and Stock Request Orders if activated.
</div>
</div>
</div>
</div>
<h2>Purchases</h2>
<div class="row mt16 o_settings_container" id="stock_request_purchase">