diff --git a/production.py b/production.py index b55704dfb6..00f982b875 100644 --- a/production.py +++ b/production.py @@ -204,7 +204,7 @@ class CreateProductionRequest(Wizard): Button('Cancel', 'end', 'tryton-cancel'), Button('Create', 'create_', 'tryton-ok', default=True), ]) - create_ = StateAction('production.act_production_request') + create_ = StateAction('stock_supply_production.act_production_request') def do_create_(self, action): pool = Pool() diff --git a/production.xml b/production.xml index a1c796d75b..e4e1e21d89 100644 --- a/production.xml +++ b/production.xml @@ -42,6 +42,24 @@ this repository contains the full copyright notices and license terms. --> + + Request Productions + production + [('state', '=', 'request')] + + + + + + + + + + + +