[13.0][ADD] stock_request_mrp

This commit is contained in:
hveficent
2020-03-12 09:13:57 +01:00
committed by HviorForgeFlow
parent 3eb8429ef8
commit a2fa620d21
25 changed files with 1168 additions and 0 deletions

View File

@@ -31,6 +31,8 @@ class ResConfigSettings(models.TransientModel):
string="Submitted state in Stock Requests"
)
module_stock_request_mrp = fields.Boolean(string="Stock Request for Manufacturing")
# Dependencies
@api.onchange("stock_request_allow_virtual_loc")
def _onchange_stock_request_allow_virtual_loc(self):

View File

@@ -81,6 +81,23 @@
</div>
</div>
</div>
<h2>Manufacturing</h2>
<div class="row mt16 o_settings_container" id="stock_request_mrp">
<div class="col-xs-12 col-md-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="module_stock_request_mrp" />
</div>
<div class="o_setting_right_pane">
<label
string="Enable Stock Requests for Manufacturing"
for="module_stock_request_mrp"
/>
<div class="text-muted">
Use Manufacturing Orders with Stock Requests
</div>
</div>
</div>
</div>
<h2>Kanban</h2>
<div
class="row mt16 o_settings_container"