Index: openacs-4/packages/invoices/sql/postgresql/invoices-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/invoices/sql/postgresql/invoices-create.sql,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/invoices/sql/postgresql/invoices-create.sql	12 Oct 2005 17:38:15 -0000	1.4
+++ openacs-4/packages/invoices/sql/postgresql/invoices-create.sql	26 Oct 2005 12:00:37 -0000	1.5
@@ -309,3 +309,20 @@
                                 constraint iv_default_objects_payment_fk
                                 references acs_objects
 );
+
+
+begin;
+    select acs_privilege__create_privilege('invoice_cancel',null,null);
+    select acs_privilege__create_privilege('invoice_export',null,null);
+
+    -- add children
+    select acs_privilege__add_child('admin','invoice_cancel');
+    select acs_privilege__add_child('admin','invoice_export');
+end;
+
+
+insert into contact_message_types (message_type,pretty_name) values ('offer','#invoices.template_offer#');
+insert into contact_message_types (message_type,pretty_name) values ('offer_accepted','#invoices.template_offer_accepted#');
+insert into contact_message_types (message_type,pretty_name) values ('invoice','#invoices.template_invoice#');
+insert into contact_message_types (message_type,pretty_name) values ('invoice_cancel','#invoices.template_invoice_cancel#');
+insert into contact_message_types (message_type,pretty_name) values ('invoice_credit','#invoices.template_invoice_credit#');
