mirror of
https://github.com/OCA/stock-logistics-warehouse.git
synced 2025-01-21 14:27:28 +02:00
[13.0][ADD] stock_request_mrp
This commit is contained in:
committed by
HviorForgeFlow
parent
3eb8429ef8
commit
a2fa620d21
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user