From c60b0674d6c5d02f42c194008e467fe13f373a4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Tue, 5 Feb 2013 19:23:06 +0100 Subject: [PATCH] Add act_production_request as it was removed in production module issue2971 --- production.py | 2 +- production.xml | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) 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')] + + + + + + + + + + + +