diff --git a/addons/account/__terp__.py b/addons/account/__terp__.py index ac20eee16b5..bbea10ba548 100644 --- a/addons/account/__terp__.py +++ b/addons/account/__terp__.py @@ -25,15 +25,19 @@ "version" : "1.1", "depends" : ["product", "analytic", "process"], "author" : "Tiny", + "category": 'Generic Modules/Accounting', "description": """Financial and accounting module that covers: - General accounting + General accountings Cost / Analytic accounting Third party accounting Taxes management Budgets Customer and Supplier Invoices Bank statements - Account Balance Report + +The processes like maintaining of general ledger is done through the defined financial Journals (entry move line or +grouping is maintained through journal) for a particular financial year and for preparation of vouchers there is a +module named account_voucherss """, 'website': 'http://www.openerp.com', 'init_xml': [], diff --git a/addons/account/account.py b/addons/account/account.py index 84e7e0c74c5..12868487c49 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2182,6 +2182,7 @@ class wizard_multi_charts_accounts(osv.osv_memory): #create all the tax code children_tax_code_template = self.pool.get('account.tax.code.template').search(cr, uid, [('parent_id','child_of',[tax_code_root_id])], order='id') + children_tax_code_template.sort() for tax_code_template in self.pool.get('account.tax.code.template').browse(cr, uid, children_tax_code_template): vals={ 'name': (tax_code_root_id == tax_code_template.id) and obj_multi.company_id.name or tax_code_template.name, diff --git a/addons/account_analytic_analysis/__terp__.py b/addons/account_analytic_analysis/__terp__.py index 2f44e0cd62a..276f8e1dd65 100644 --- a/addons/account_analytic_analysis/__terp__.py +++ b/addons/account_analytic_analysis/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -24,9 +24,14 @@ 'name': 'report_account_analytic', 'version': '1.0', 'category': 'Generic Modules/Accounting', - 'description': """Modify account analytic view to show -important data for project manager of services companies. -Add menu to show relevant information for each manager.""", + 'description': """ + This module is for modifying account analytic view to show + important data to project manager of services companies. + Adds menu to show relevant information to each manager.. + + You can also view the report of account analytic summary + user-wise as well as month wise. +""", "version" : "1.1", "author" : "Camptocamp", "category" : "Generic Modules/Accounting", diff --git a/addons/account_analytic_plans/__terp__.py b/addons/account_analytic_plans/__terp__.py index 63b09bf1dc0..b3067358a62 100644 --- a/addons/account_analytic_plans/__terp__.py +++ b/addons/account_analytic_plans/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -51,6 +51,8 @@ Plan2: So when this line of invoice will be confirmed, it will generate 3 analytic lines, for one account entry. +The analytic plan validates the minimum and maximum percentage at the time of creation +of distribution models. """, 'author': 'Tiny', 'website': 'http://www.openerp.com', diff --git a/addons/account_analytic_plans/account_analytic_plans.py b/addons/account_analytic_plans/account_analytic_plans.py index 52fc1aa1f9b..af197076c23 100644 --- a/addons/account_analytic_plans/account_analytic_plans.py +++ b/addons/account_analytic_plans/account_analytic_plans.py @@ -95,6 +95,18 @@ class account_analytic_plan_instance(osv.osv): 'account6_ids':one2many_mod2('account.analytic.plan.instance.line','plan_id','Account6 Id'), 'plan_id':fields.many2one('account.analytic.plan', "Model's Plan"), } + + def search(self, cr, user, args, offset=0, limit=None, order=None, context=None, count=False): + if context.get('journal_id', False): + journal = self.pool.get('account.journal').browse(cr, user, [context['journal_id']], context=context)[0] + analytic_journal = journal.analytic_journal_id and journal.analytic_journal_id.id or False + args.append('|') + args.append(('journal_id', '=', analytic_journal)) + args.append(('journal_id', '=', False)) + res = super(account_analytic_plan_instance, self).search(cr, user, args, offset=offset, limit=limit, order=order, + context=context, count=count) + return res + def copy(self, cr, uid, id, default=None, context=None): if not default: default = {} diff --git a/addons/account_analytic_plans/account_analytic_plans_view.xml b/addons/account_analytic_plans/account_analytic_plans_view.xml index acd8debb18b..da10d698dfa 100644 --- a/addons/account_analytic_plans/account_analytic_plans_view.xml +++ b/addons/account_analytic_plans/account_analytic_plans_view.xml @@ -24,7 +24,7 @@ - + @@ -45,7 +45,7 @@ - + diff --git a/addons/account_budget/wizard/wizard_analytic_account_budget.py b/addons/account_budget/wizard/wizard_analytic_account_budget.py index a8d6fb27c06..16702f7633d 100644 --- a/addons/account_budget/wizard/wizard_analytic_account_budget.py +++ b/addons/account_budget/wizard/wizard_analytic_account_budget.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -38,7 +38,7 @@ class wizard_report(wizard.interface): states = { 'init': { 'actions': [], - 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel'),('report','Print')]} + 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel', 'gtk-cancel'),('report','Print', 'gtk-print', True)]} }, 'report': { 'actions': [], diff --git a/addons/account_budget/wizard/wizard_budget_report.py b/addons/account_budget/wizard/wizard_budget_report.py index 544a401546b..72f251445ba 100644 --- a/addons/account_budget/wizard/wizard_budget_report.py +++ b/addons/account_budget/wizard/wizard_budget_report.py @@ -47,7 +47,7 @@ class wizard_report(wizard.interface): states = { 'init': { 'actions': [_default], - 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel'),('report','Print')]} + 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel', 'gtk-cancel'),('report','Print', 'gtk-print', True)]} }, 'report': { 'actions': [], diff --git a/addons/account_budget/wizard/wizard_budget_spread.py b/addons/account_budget/wizard/wizard_budget_spread.py index 31c4e8fb76f..a4885df2324 100644 --- a/addons/account_budget/wizard/wizard_budget_spread.py +++ b/addons/account_budget/wizard/wizard_budget_spread.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -43,7 +43,7 @@ class wizard_budget_spread(wizard.interface): states = { 'init': { 'actions': [], - 'result': {'type':'form', 'arch':_spread_form, 'fields':_spread_fields, 'state':[('end','Cancel'),('spread','Spread')]} + 'result': {'type':'form', 'arch':_spread_form, 'fields':_spread_fields, 'state':[('end','Cancel'),('spread','Spread','',True)]} }, 'spread': { 'actions': [_spread], diff --git a/addons/account_budget/wizard/wizard_crossovered_budget_report.py b/addons/account_budget/wizard/wizard_crossovered_budget_report.py index 2737798e7fe..a1357974126 100644 --- a/addons/account_budget/wizard/wizard_crossovered_budget_report.py +++ b/addons/account_budget/wizard/wizard_crossovered_budget_report.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -43,7 +43,7 @@ class wizard_report(wizard.interface): states = { 'init': { 'actions': [_default], - 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel'),('report','Print')]} + 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel', 'gtk-cancel'),('report','Print', 'gtk-print', True)]} }, 'report': { 'actions': [], diff --git a/addons/account_budget/wizard/wizard_crossovered_budget_summary_report.py b/addons/account_budget/wizard/wizard_crossovered_budget_summary_report.py index cbca68165b6..5580fea385f 100644 --- a/addons/account_budget/wizard/wizard_crossovered_budget_summary_report.py +++ b/addons/account_budget/wizard/wizard_crossovered_budget_summary_report.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -42,7 +42,7 @@ class wizard_report_summary(wizard.interface): states = { 'init': { 'actions': [_default], - 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel'),('report','Print')]} + 'result': {'type':'form', 'arch':dates_form, 'fields':dates_fields, 'state':[('end','Cancel', 'gtk-cancel'),('report','Print', 'gtk-print', True)]} }, 'report': { 'actions': [], diff --git a/addons/account_voucher/__terp__.py b/addons/account_voucher/__terp__.py index b6843372f4c..a006cb10bab 100755 --- a/addons/account_voucher/__terp__.py +++ b/addons/account_voucher/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -24,20 +24,25 @@ "version" : "1.0", "author" : 'Tiny & Axelor', "description": """ - India Accounting module includes all the basic requirenment of - Basic Accounting, like - * Bank Payment, Receipt - * Cash Payent, Receipt + India Accounting module includes all the basic requirenment of + Basic Accounting, plus new things which available are + * Indian Account Chart + * New Invoice - (Local, Retail) + * Invoice Report + * Tax structure + * Journals + * VAT Declaration report + * Accounting Periods """, - "category" : "Generic Modules/Indian Accounting", + "category" : "Generic Modules/Accounting", "website" : "http://tinyerp.com", "depends" : ["base", "account"], "init_xml" : [ ], - + "demo_xml" : [ ], - + "update_xml" : [ "security/ir.model.access.csv", "voucher_sequence.xml", diff --git a/addons/association/__terp__.py b/addons/association/__terp__.py index 29eeb474d9c..43f61ed2392 100644 --- a/addons/association/__terp__.py +++ b/addons/association/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -24,7 +24,7 @@ 'name': 'Association profile', 'version': '0.1', 'category': 'Profile', - 'description': """Profile for Associates""", + 'description': """This module is to create Profile for Associates""", 'author': 'Tiny', 'depends': ['membership', 'board_association'], 'update_xml': ['security/ir.model.access.csv', 'profile_association.xml'], diff --git a/addons/auction/__terp__.py b/addons/auction/__terp__.py index 83064640266..ecc91f4e2d2 100644 --- a/addons/auction/__terp__.py +++ b/addons/auction/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -24,10 +24,14 @@ 'name': 'Auction Management', 'version': '1.0', 'category': 'Generic Modules/Auction', - 'description': """This module provides functionality to - manage artists, articles, sellers, buyers and auction. - Manage bids, track of sold, paid and unpaid objects. - Delivery Management. + 'description': """ + This module manages the records of the artists, + the articles to be put up for auction,the buyers and + sellers. + + It completely manages an auction such as managing bids, + keeping track of the sold articles along with the paid + and unpaid objects including delivery of the articles. """, 'author': 'Tiny', 'depends': ['base', 'account', 'hr_attendance'], diff --git a/addons/audittrail/__terp__.py b/addons/audittrail/__terp__.py index e7ecd839efb..d8b573a704a 100644 --- a/addons/audittrail/__terp__.py +++ b/addons/audittrail/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -24,8 +24,14 @@ 'name': 'Audit Trail', 'version': '1.0', 'category': 'Generic Modules/Others', - 'description': """Allows the administrator to track every user operations on all objects of the system. - Subscribe Rules for read, write, create and delete on objects and check logs""", + 'description': """ + This module gives the administrator the right + to track every user operation on all the objects + of the system. + + Administrator can subscribe rules for read,write and + delete on objects and can check logs. + """, 'author': 'Tiny', 'website': 'http://www.openerp.com', 'depends': ['base'], diff --git a/addons/base_calendar/__terp__.py b/addons/base_calendar/__terp__.py index e433fbb7668..c0169db368b 100644 --- a/addons/base_calendar/__terp__.py +++ b/addons/base_calendar/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,36 +15,36 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## { - "name" : "Basic Calendar Functionality", - "version" : "1.0", + "name" : "Basic Calendar Functionality", + "version" : "1.0", "depends" : [ - "base", - ], + "base", + ], 'description': """ Full featured calendar system that support: - Alerts (create requests) - Recurring events (*) - - Invitations to others people -""", - "author" : "Tiny", - 'category': 'Generic Modules/Others', - 'website': 'http://www.openerp.com', + - Invitations to other people +""", + "author" : "Tiny", + 'category': 'Generic Modules/Others', + 'website': 'http://www.openerp.com', "init_xml" : [ 'base_calendar_data.xml' - ], - "demo_xml" : [], + ], + "demo_xml" : [], "update_xml" : [ - 'security/ir.model.access.csv', + 'security/ir.model.access.csv', 'base_calendar_view.xml' - ], - "installable" : True, - "active" : False, + ], + "installable" : True, + "active" : False, } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_iban/__terp__.py b/addons/base_iban/__terp__.py index e8527ee6459..f534c42bb33 100644 --- a/addons/base_iban/__terp__.py +++ b/addons/base_iban/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -25,7 +25,7 @@ 'version': '1.0', 'category': 'Generic Modules/Base', 'description': """ -This module install the base for IBAN bank accounts. +This module install the base for IBAN (International Bank Account Number) bank accounts and checks for its validity """, 'author': 'Tiny', diff --git a/addons/base_module_record/base_module_record.py b/addons/base_module_record/base_module_record.py index 8f69d082f26..cda1f4ebb82 100644 --- a/addons/base_module_record/base_module_record.py +++ b/addons/base_module_record/base_module_record.py @@ -72,6 +72,40 @@ def doc_createXElement(xdoc, tagName): e.ownerDocument = xdoc return e +import yaml + +class record(yaml.YAMLObject): + yaml_tag = u'!record' + def __init__(self, model, id=None, attrs={}): + self.model = model + self.id = id + self.attrs=attrs + def __repr__(self): + return '!record {model: %s, id: %s}:' % (str(self.model,), str(self.id,)) + +class workflow(yaml.YAMLObject): + yaml_tag = u'!workflow' + def __init__(self, model, action, ref=None): + self.model = model + self.ref = ref + self.action=action + def __repr__(self): + return '!workflow {model: %s, action: %s, ref: %s}' % (str(self.model,), str(self.action,), str(self.ref,)) + +class ref(yaml.YAMLObject): + yaml_tag = u'!ref' + def __init__(self, expr="False"): + self.expr = expr + def __repr__(self): + return 'ref(%s)' % (str(self.expr,)) + +class eval(yaml.YAMLObject): + yaml_tag = u'!eval' + def __init__(self, expr="False"): + self.expr = expr + def __repr__(self): + return 'eval(%s)' % (str(self.expr,)) + class base_module_record(osv.osv): _name = "ir.module.record" _columns = { @@ -105,7 +139,7 @@ class base_module_record(osv.osv): dt = self.pool.get('ir.model.data') dtids = dt.search(cr, uid, [('model','=',model), ('res_id','=',id)]) if not dtids: - return None, None + return False, None obj = dt.browse(cr, uid, dtids[0]) self.depends[obj.module] = True return obj.module+'.'+obj.name, obj.noupdate @@ -379,6 +413,10 @@ class base_module_record(osv.osv): data['action'] = rec[3] data['ref'] = id return data + if self.mode=="write": + id,update = self._get_id(cr, uid, rec[2],rec[4][0]) + record = self._create_yaml_record(cr, uid, rec[2], rec[5], id) + return record data=self.get_copy_data(cr,uid,rec[2],rec[4],rec[5]) copy_rec=(rec[0],rec[1],rec[2],rec[3],rec[4],data,rec[5]) rec=copy_rec @@ -429,44 +467,13 @@ class base_module_record(osv.osv): def generate_yaml(self, cr, uid): self.ids = {} if len(self.recording_data): - strg='''import yaml - -class record(yaml.YAMLObject): - yaml_tag = u'!record' - def __init__(self, model, id=None, attrs={}): - self.model = model - self.id = id - self.attrs=attrs - def __repr__(self): - return '!record {model: %s, id: %s}:' % (str(self.model,), str(self.id,)) - -class workflow(yaml.YAMLObject): - yaml_tag = u'!workflow' - def __init__(self, model, action, ref=None): - self.model = model - self.ref = ref - self.action=action - def __repr__(self): - return '!workflow {model: %s, action: %s, ref: %s}' % (str(self.model,), str(self.action,), str(self.ref,)) - -class ref(yaml.YAMLObject): - yaml_tag = u'!ref' - def __init__(self, expr="False"): - self.expr = expr - def __repr__(self): - return 'ref(%s)' % (str(self.expr,)) - -class eval(yaml.YAMLObject): - yaml_tag = u'!eval' - def __init__(self, expr="False"): - self.expr = expr - def __repr__(self): - return 'eval(%s)' % (str(self.expr,)) -\n''' + yaml_file='''\n''' for rec in self.recording_data: if rec[1][3] == 'create': self.mode="create" + elif rec[1][3] == 'write': + self.mode="write" elif rec[1][3] == 'copy': self.mode="copy" elif rec[0] == 'workflow': @@ -475,47 +482,30 @@ class eval(yaml.YAMLObject): continue if self.mode == "workflow": record= self._generate_object_yaml(cr, uid, rec[1],rec[0]) - strg+="object=yaml.load(unicode('''\n !workflow %s \n''','iso-8859-1'))"%record - strg+=''' -print object -''' + object=yaml.load(unicode('''\n !workflow %s \n'''%record,'iso-8859-1')) + yaml_file += str(object) + '''\n''' else: record= self._generate_object_yaml(cr, uid, rec[1],rec[3]) - strg+="object=yaml.load(unicode('''\n !record %s \n''','iso-8859-1'))"%record - strg+=''' -print object -attrs=yaml.dump(object.attrs, default_flow_style=False) -print attrs \n\n''' - - import os - py_path = os.path.join(os.getcwd(), 'records.py') - txt_path = os.path.join(os.getcwd(), 'records.txt') - f = open(py_path, 'w') - f.write(strg) - f.close() - os.system('python %s > %s'%(py_path,txt_path)) - f = open(txt_path, 'r+') - lines=f.readlines() - f.seek(0) - for line in lines: - line=line.replace("''","'") - if line.find('!record') == 0: - line = "- \n" + " " + line - elif line.find('!workflow') == 0: - line = "- \n" + " " + line - elif line.find('- -') != -1: - line=line.replace('- -',' -') - line = " " + line - else: - line = " " + line - f.write(line) - f.close() - f = open(txt_path, 'r') - strg = ''.join(f.readlines()) - f.close() - os.system('rm %s'%py_path) - os.system('rm %s'%txt_path) - return strg + object= yaml.load(unicode('''\n !record %s \n'''%record,'iso-8859-1')) + yaml_file += str(object) + '''\n''' + attrs=yaml.dump(object.attrs, default_flow_style=False) + yaml_file += attrs + '''\n\n''' + + yaml_result='''''' + for line in yaml_file.split('\n'): + line=line.replace("''","'") + if line.find('!record') == 0: + line = "- \n" + " " + line + elif line.find('!workflow') == 0: + line = "- \n" + " " + line + elif line.find('- -') != -1: + line=line.replace('- -',' -') + line = " " + line + else: + line = " " + line + yaml_result += line + '''\n''' + + return yaml_result base_module_record() # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/base_report_designer/__terp__.py b/addons/base_report_designer/__terp__.py index 0d2ca29e657..f19d179a1ed 100644 --- a/addons/base_report_designer/__terp__.py +++ b/addons/base_report_designer/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -25,8 +25,13 @@ 'version': '0.1', 'category': 'Generic Modules/Base', 'description': """ -This module adds wizards to import/export documents to be edited in -OpenOffice. +This module is used along with openerp OpenOffice plugin. +You have to first install the plugin which is available at +http://www.openerp.com + +This module adds wizards to import/export .SXW report that +you can modify in OpenOffice.Once you have modified it you can +upload the report using the same wizard. """, 'author': 'Tiny', 'website': 'http://www.openerp.com', diff --git a/addons/base_vat/__terp__.py b/addons/base_vat/__terp__.py index 6e1f03e4644..bdef947f77f 100644 --- a/addons/base_vat/__terp__.py +++ b/addons/base_vat/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -24,7 +24,12 @@ 'name': 'Base VAT - To check VAT number validity', 'version': '1.0', 'category': 'Generic Modules/Base', - 'description': """Enable the VAT Number for the partner. Check the validity of that VAT Number.""", + 'description': """ + Enable the VAT Number for the partner. Check the validity of that VAT Number. + + This module follows the methods stated at http://sima-pc.com/nif.php for + checking the validity of VAT Number assinged to partners in European countries. + """, 'author': 'Tiny', 'depends': ['base', 'account'], 'update_xml': ['base_vat_data.xml'], diff --git a/addons/board_association/__terp__.py b/addons/board_association/__terp__.py index ed2264fd6eb..56402fc64ef 100644 --- a/addons/board_association/__terp__.py +++ b/addons/board_association/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -25,7 +25,12 @@ 'version': '1.0', 'category': 'Board/Associations', 'description': """ -This module implements a dashboard for associations. +This module implements a dashboard for associations that includes: + * New Members (graph) + * Registration by Events (graph) + * Next Events (list) + * My Tasks (list) + * Unpaid Invoices (list) """, 'author': 'Tiny', 'depends': ['event', 'membership', 'board', 'project'], diff --git a/addons/board_auction/__terp__.py b/addons/board_auction/__terp__.py index bf43d74edf2..9a633e47af9 100644 --- a/addons/board_auction/__terp__.py +++ b/addons/board_auction/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -26,7 +26,10 @@ 'category': 'Board/Auction', 'description': """ This module creates a dashboards for auction that includes: - + * My Latest Objects (list) + * My Latest Deposits (list) + * Objects Statistics (list) + * My Objects By Day (list) """, 'author': 'Tiny', 'depends': ['board', 'auction'], diff --git a/addons/board_document/__terp__.py b/addons/board_document/__terp__.py index 112ab335db7..3dcd00627b4 100644 --- a/addons/board_document/__terp__.py +++ b/addons/board_document/__terp__.py @@ -24,7 +24,13 @@ 'name': 'Dashboard for Document Management', 'version': '1.0', 'category': 'Board/Document', - 'description': """ This module implements a dashboard for Document """, + 'description': """ + This module implements a dashboard for Document that includes: + * New Files (list) + * Files by Resource Type (graph) + * Files by Partner (graph) + * Files by Month (graph) + """, 'author': 'Tiny', 'depends': ['board', 'document'], 'update_xml': ['board_document_view.xml'], diff --git a/addons/board_hr/__terp__.py b/addons/board_hr/__terp__.py index 937f4e72c32..b64d09c1b33 100644 --- a/addons/board_hr/__terp__.py +++ b/addons/board_hr/__terp__.py @@ -23,7 +23,7 @@ { 'name': 'Board for Human Reasources Management', 'version': '1.0', - 'category': '', + 'category': 'Board/Human Resources', 'description': """ This module implements a dashboard for human resource management that includes: * My Current Timesheet diff --git a/addons/decimal_precision/__terp__.py b/addons/decimal_precision/__terp__.py index 73426f0c8ea..113f2be8883 100644 --- a/addons/decimal_precision/__terp__.py +++ b/addons/decimal_precision/__terp__.py @@ -1,6 +1,6 @@ # -*- encoding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (). # @@ -23,8 +23,9 @@ "name": "Decimal Precision Configuration", "description": """ This module allows to configure the price accuracy you need for different kind -of usage: accounting, sales, purchases, ... The decimal precision is configured -per company. +of usage: accounting, sales, purchases, ... + +The decimal precision is configured per company. """, "author": "Tiny", "version": "0.1", @@ -32,8 +33,8 @@ per company. "category" : "Generic Modules/Others", "init_xml": [], "update_xml": [ - 'decimal_precision_view.xml', - 'security/ir.model.access.csv', + 'decimal_precision_view.xml', + 'security/ir.model.access.csv', ], "demo_xml": [], "installable": True, diff --git a/addons/delivery/__terp__.py b/addons/delivery/__terp__.py index 5897cdb2f99..1ce00a0cd26 100644 --- a/addons/delivery/__terp__.py +++ b/addons/delivery/__terp__.py @@ -24,7 +24,11 @@ 'name': 'Carriers and deliveries', 'version': '1.0', 'category': 'Generic Modules/Sales & Purchases', - 'description': """Allows you to add delivery methods in sales orders and picking. You can define your own carrier and delivery grids for prices. When creating invoices from picking, Open ERP is able to add and compute the shipping line.""", + 'description': """Allows you to add delivery methods in sales orders and picking. + You can define your own carrier and delivery grids for prices. + When creating invoices from picking, Open ERP is able to add and compute the shipping line. + + """, 'author': 'Tiny', 'depends': ['sale', 'purchase', 'stock'], 'init_xml': ['delivery_data.xml'], diff --git a/addons/document_ftp/__terp__.py b/addons/document_ftp/__terp__.py index 42561975463..b4c6b2c0b71 100644 --- a/addons/document_ftp/__terp__.py +++ b/addons/document_ftp/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -24,7 +24,9 @@ 'name': 'Integrated FTP Server with Document Management System', 'version': '1.99', 'category': 'Generic Modules/Others', - 'description': """This is a support FTP Interface with document management system: + 'description': """This is a support FTP Interface with document management system. + With this module you would not only be able to access documents through open erp + also you would be able to connect with them through the file system using the FTP protocol. """, 'author': 'Tiny', 'website': 'http://www.openerp.com', @@ -32,7 +34,7 @@ 'init_xml': [], 'update_xml': [ 'document_ftp_view.xml', - 'security/ir.model.access.csv' + 'security/ir.model.access.csv' ], 'demo_xml': [], 'installable': True, diff --git a/addons/document_webdav/__terp__.py b/addons/document_webdav/__terp__.py index ce11511d0fa..24893c275e1 100644 --- a/addons/document_webdav/__terp__.py +++ b/addons/document_webdav/__terp__.py @@ -34,8 +34,9 @@ "author" : "Tiny", "category" : "Generic Modules/Others", "website": "http://www.openerp.com", - "description": """ With this module, the WebDAV server for the documents is activated. You can then use any compatible browser to remotely see the attachments of OpenObject. - + "description": """ With this module, the WebDAV server for the documents is activated. + You can then use any compatible browser to remotely see the attachments of OpenObject. + After installation, the webDAV server can be controlled by a [webdav] section in the server's config. """, "depends" : ["base", "document"], diff --git a/addons/event/__terp__.py b/addons/event/__terp__.py index 04285d4fd3c..654492e4ddf 100644 --- a/addons/event/__terp__.py +++ b/addons/event/__terp__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,7 +15,7 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## @@ -45,7 +45,9 @@ 'event_view.xml', 'event_sequence.xml', 'security/event_security.xml', - 'security/ir.model.access.csv' + 'security/ir.model.access.csv', + 'wizard/event_registration_view.xml', + 'wizard/event_registrations_partner.xml', ], 'demo_xml': ['event_demo.xml'], 'installable': True, diff --git a/addons/event/event_wizard.xml b/addons/event/event_wizard.xml index fd0488dc1dc..2888bd8587f 100644 --- a/addons/event/event_wizard.xml +++ b/addons/event/event_wizard.xml @@ -2,17 +2,17 @@ - + id="wizard_event_registration"/> --> - + id="wizard_event_reg_partners"/> --> - ). # @@ -15,13 +15,12 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## + import event_registration import make_invoice import event_registrations_partner import confirm_registration - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/event/wizard/event_registration.py b/addons/event/wizard/event_registration.py index 40d2196b004..e7252a1a63d 100644 --- a/addons/event/wizard/event_registration.py +++ b/addons/event/wizard/event_registration.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- ############################################################################## -# +# # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (). # @@ -15,40 +15,29 @@ # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . +# along with this program. If not, see . # ############################################################################## -import wizard -import pooler +from osv import fields, osv -def _event_registration(self, cr, uid, data, context): - event_id = data['id'] - cr.execute('SELECT section_id FROM event_event WHERE id = %s', (event_id, )) - res = cr.fetchone() - value = { - 'domain': [('section_id', '=', res[0])], - 'name': 'Event registration', - 'view_type': 'form', - 'view_mode': 'tree,form', - 'res_model': 'event.registration', - 'context': { }, - 'type': 'ir.actions.act_window' - } - return value +class event_registration_list(osv.osv_memory): + """ List Event Registration """ + _name = "event.registration.list" + _description = "List Event Registrations" -class wizard_event_registration(wizard.interface): - states = { - 'init': { - 'actions': [], - 'result': { - 'type': 'action', - 'action': _event_registration, - 'state': 'end' - } - }, - } -wizard_event_registration("wizard_event_registration") + def open_registration(self, cr, uid, ids, context={}): + cr.execute('SELECT section_id FROM event_event WHERE id = %s', (context['active_id'],)) + res = cr.fetchone() + return { + 'domain': [('section_id', '=', res[0])], + 'name': 'Event Registrations', + 'view_type': 'form', + 'view_mode': 'tree,form', + 'res_model': 'event.registration', + 'type': 'ir.actions.act_window' + } -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: +event_registration_list() +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/event/wizard/event_registration_view.xml b/addons/event/wizard/event_registration_view.xml new file mode 100644 index 00000000000..5afe437bc0f --- /dev/null +++ b/addons/event/wizard/event_registration_view.xml @@ -0,0 +1,39 @@ + + + + + + List Event Registrations + event.registration.list + form + +
+