From c91cc239166eac7b177eb5c83f6a8c60bf52a647 Mon Sep 17 00:00:00 2001
From: Arnaud Fontaine <arnaud.fontaine@nexedi.com>
Date: Fri, 30 Aug 2013 17:04:57 +0900
Subject: [PATCH] Saving/Rebuilding erp5_banking_check failed because bt5
 definition was not updated after removing global actions (83a994b7).

Also, fix erp5_email_reader bt5 definition for actions never committed.
---
 bt5/erp5_banking_check/bt/change_log           |  3 +++
 bt5/erp5_banking_check/bt/dependency_list      |  2 +-
 bt5/erp5_banking_check/bt/revision             |  2 +-
 .../bt/template_action_path_list               | 18 ------------------
 bt5/erp5_email_reader/bt/change_log            |  3 +++
 bt5/erp5_email_reader/bt/revision              |  2 +-
 .../bt/template_action_path_list               |  4 ----
 7 files changed, 9 insertions(+), 25 deletions(-)

diff --git a/bt5/erp5_banking_check/bt/change_log b/bt5/erp5_banking_check/bt/change_log
index 614327bc62..207aeba440 100644
--- a/bt5/erp5_banking_check/bt/change_log
+++ b/bt5/erp5_banking_check/bt/change_log
@@ -1,3 +1,6 @@
+2013-08-30 arnaud.fontaine
+* Saving erp5_banking_check failed because bt5 definition was not updated after removing global actions (83a994b7).
+
 2013-08-30 arnaud.fontaine
 * ZODB Components: Migrate Documents, Extensions and Tests.
 
diff --git a/bt5/erp5_banking_check/bt/dependency_list b/bt5/erp5_banking_check/bt/dependency_list
index 301c75ae1c..d3081054cc 100644
--- a/bt5/erp5_banking_check/bt/dependency_list
+++ b/bt5/erp5_banking_check/bt/dependency_list
@@ -1 +1 @@
-erp5_banking_core
+erp5_banking_core
\ No newline at end of file
diff --git a/bt5/erp5_banking_check/bt/revision b/bt5/erp5_banking_check/bt/revision
index ec52cb80b9..99f9f071dc 100644
--- a/bt5/erp5_banking_check/bt/revision
+++ b/bt5/erp5_banking_check/bt/revision
@@ -1 +1 @@
-501
\ No newline at end of file
+502
\ No newline at end of file
diff --git a/bt5/erp5_banking_check/bt/template_action_path_list b/bt5/erp5_banking_check/bt/template_action_path_list
index 687a9fb1cf..a7fd6670ac 100644
--- a/bt5/erp5_banking_check/bt/template_action_path_list
+++ b/bt5/erp5_banking_check/bt/template_action_path_list
@@ -1,58 +1,40 @@
 Check Deposit Module | view
 Check Deposit | accounting_view
 Check Deposit | view
-Check Payment Module | print
 Check Payment Module | view
 Check Payment | accounting_view
 Check Payment | fastInput
-Check Payment | print
 Check Payment | related_agents
 Check Payment | view
-Checkbook Delivery Line | print
 Checkbook Delivery Line | view
 Checkbook Delivery Module | view
 Checkbook Delivery | accounting_view
 Checkbook Delivery | fastinput
-Checkbook Delivery | print_pdf
 Checkbook Delivery | view
-Checkbook Reception Line | print
 Checkbook Reception Line | view
 Checkbook Reception Module | view
 Checkbook Reception | fastInput
 Checkbook Reception | import
-Checkbook Reception | print
 Checkbook Reception | view
 Checkbook Usual Cash Transfer Module | list
-Checkbook Usual Cash Transfer Module | print_pdf
 Checkbook Usual Cash Transfer Module | view
 Checkbook Usual Cash Transfer | fastinput
-Checkbook Usual Cash Transfer | print_pdf
 Checkbook Usual Cash Transfer | view
 Checkbook Vault Transfer Module | list
-Checkbook Vault Transfer Module | print_pdf
 Checkbook Vault Transfer Module | view
 Checkbook Vault Transfer | fastinput
-Checkbook Vault Transfer | print_pdf
 Checkbook Vault Transfer | view
-Incoming Check Deposit Line | print
 Incoming Check Deposit Line | view
-Outgoing Check Deposit Line | print
 Outgoing Check Deposit Line | view
-Stop Payment Module | print
 Stop Payment Module | view
 Stop Payment | accounting_view
 Stop Payment | fastinput
-Stop Payment | print_pdf
 Stop Payment | view
-Traveler Check Purchase Module | print
 Traveler Check Purchase Module | view
 Traveler Check Purchase | accounting_view
 Traveler Check Purchase | fastinput
-Traveler Check Purchase | print_pdf
 Traveler Check Purchase | view
-Traveler Check Sale Module | print
 Traveler Check Sale Module | view
 Traveler Check Sale | accounting_view
 Traveler Check Sale | fastinput
-Traveler Check Sale | print_pdf
 Traveler Check Sale | view
\ No newline at end of file
diff --git a/bt5/erp5_email_reader/bt/change_log b/bt5/erp5_email_reader/bt/change_log
index a185012b4f..e0158a7376 100644
--- a/bt5/erp5_email_reader/bt/change_log
+++ b/bt5/erp5_email_reader/bt/change_log
@@ -1,3 +1,6 @@
+2013-08-30 arnaud.fontaine
+* Some actions were never committed and prevented rebuild/save of bt5.
+
 2013-08-30 arnaud.fontaine
 * ZODB Components: Migrate Documents, Extensions and Tests.
 
diff --git a/bt5/erp5_email_reader/bt/revision b/bt5/erp5_email_reader/bt/revision
index b74e882ae3..1758dddcce 100644
--- a/bt5/erp5_email_reader/bt/revision
+++ b/bt5/erp5_email_reader/bt/revision
@@ -1 +1 @@
-31
\ No newline at end of file
+32
\ No newline at end of file
diff --git a/bt5/erp5_email_reader/bt/template_action_path_list b/bt5/erp5_email_reader/bt/template_action_path_list
index 000b18484d..0dd4be6004 100644
--- a/bt5/erp5_email_reader/bt/template_action_path_list
+++ b/bt5/erp5_email_reader/bt/template_action_path_list
@@ -3,10 +3,6 @@ Email Reader | crawl
 Email Reader | view
 Email Reader | view_settings
 Email Reader | view_settings_action
-Email Thread Module | automation_settings
-Email Thread Module | crawl
 Email Thread Module | view
-Email Thread Module | view_settings
-Email Thread Module | view_settings_action
 Email Thread | copy_document_to_dms
 Email Thread | view
\ No newline at end of file
-- 
2.30.9