From 04703c9e154504ed453dec0714ed4067b5a7717e Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Mon, 13 Jan 2014 18:48:45 +0530 Subject: [PATCH] [ADD] added account_product_template module and add it account configuration view bzr revid: tpa@tinyerp.com-20140113131845-urfw5knjkou0a0aw --- addons/account/res_config.py | 2 + addons/account/res_config_view.xml | 4 ++ addons/account_product_template/__init__.py | 24 +++++++++ .../account_product_template/__openerp__.py | 49 +++++++++++++++++++ .../account_product.py | 38 ++++++++++++++ .../account_product_template_data.xml | 5 ++ .../account_product_view.xml | 26 ++++++++++ 7 files changed, 148 insertions(+) create mode 100644 addons/account_product_template/__init__.py create mode 100644 addons/account_product_template/__openerp__.py create mode 100644 addons/account_product_template/account_product.py create mode 100644 addons/account_product_template/account_product_template_data.xml create mode 100644 addons/account_product_template/account_product_view.xml diff --git a/addons/account/res_config.py b/addons/account/res_config.py index bf28e900378..9d7636119f7 100644 --- a/addons/account/res_config.py +++ b/addons/account/res_config.py @@ -105,6 +105,8 @@ class account_config_settings(osv.osv_memory): 'module_account_followup': fields.boolean('Manage customer payment follow-ups', help='This allows to automate letters for unpaid invoices, with multi-level recalls.\n' '-This installs the module account_followup.'), + 'module_account_product_template': fields.boolean('Send products tools and information at the invoice confirmation', + help='Whith this module, link your products to a template to send complete information and tools to your customer. For instance, you invoice a training, link a template to this training product with training agenda and materials.'), 'group_proforma_invoices': fields.boolean('Allow pro-forma invoices', implied_group='account.group_proforma_invoices', help="Allows you to put invoices in pro-forma state."), diff --git a/addons/account/res_config_view.xml b/addons/account/res_config_view.xml index ce8b41fc2da..3a2c732ce06 100644 --- a/addons/account/res_config_view.xml +++ b/addons/account/res_config_view.xml @@ -183,6 +183,10 @@