From aab48f93a5142e59391d51feda83eae1a5505532 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Fri, 21 Sep 2012 11:46:43 +0530 Subject: [PATCH 01/31] [FIX]l10n_ch:solved configuration wizard traceback bzr revid: kbh@tinyerp.com-20120921061643-5p25uqu3yidpppf5 --- addons/l10n_ch/account_wizard.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/l10n_ch/account_wizard.py b/addons/l10n_ch/account_wizard.py index 7b80e3697ee..306207c612d 100644 --- a/addons/l10n_ch/account_wizard.py +++ b/addons/l10n_ch/account_wizard.py @@ -36,8 +36,9 @@ class WizardMultiChartsAccounts(osv.osv_memory): def execute(self, cr, uid, ids, context=None): """Override of code in order to be able to link journal with account in XML""" res = super(WizardMultiChartsAccounts, self).execute(cr, uid, ids, context) - path = addons.get_module_resource(os.path.join('l10n_ch','sterchi_chart','account_journal_rel.xml')) + path = addons.get_module_resource('l10n_ch','sterchi_chart','account_journal_rel.xml') tools.convert_xml_import(cr, 'l10n_ch', path, idref=None, mode='init', noupdate=True, report=None) + res.update({'type': 'ir.actions.act_window_close'}) return res WizardMultiChartsAccounts() From ca598744945f636844fef75dfbb5d44a75fb66d3 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 21 Sep 2012 12:07:17 +0530 Subject: [PATCH 02/31] [IMP] Remove tab in job position bzr revid: fka@tinyerp.com-20120921063717-wqwosj6il703pbi9 --- addons/hr/hr_view.xml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index 5d4c2ae9d45..3907737d7cd 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -374,14 +374,14 @@ - - - - +
+
+
+
From 0591d0599dbc9dfb1cbf9c8892495afe89e6aa9b Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Fri, 21 Sep 2012 12:08:52 +0530 Subject: [PATCH 03/31] [FIX]l10n_ch:duplicate bank field bzr revid: kbh@tinyerp.com-20120921063852-gmcz8b0mxvdcm0ul --- addons/l10n_ch/bank_view.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/l10n_ch/bank_view.xml b/addons/l10n_ch/bank_view.xml index da1badd7fe8..9cd6e2445f8 100644 --- a/addons/l10n_ch/bank_view.xml +++ b/addons/l10n_ch/bank_view.xml @@ -92,8 +92,6 @@ - - From ea0fe9f1cb822d159225fd4b1a99907575bdacae Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 21 Sep 2012 14:05:02 +0530 Subject: [PATCH 04/31] [IMP] give rights to officer for applicant bzr revid: fka@tinyerp.com-20120921083502-7pw3vfsxu8s8dtrf --- addons/hr_recruitment/security/ir.model.access.csv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_recruitment/security/ir.model.access.csv b/addons/hr_recruitment/security/ir.model.access.csv index 086e63e542b..2d0b85faf70 100644 --- a/addons/hr_recruitment/security/ir.model.access.csv +++ b/addons/hr_recruitment/security/ir.model.access.csv @@ -8,5 +8,5 @@ access_survey_hr_user,survey.hr.user,survey.model_survey,base.group_hr_user,1,1, access_crm_meeting_hruser,crm.meeting.hruser,base_calendar.model_crm_meeting,base.group_hr_user,1,1,1,1 access_hr_recruitment_source_hr_officer,hr.recruitment.source,model_hr_recruitment_source,base.group_hr_user,1,1,1,1 access_hr_recruitment_source_all,hr.recruitment.source,model_hr_recruitment_source,,1,0,0,0 -access_hr_applicant_category,hr.applicant_category,model_hr_applicant_category,,1,0,0,0 +access_hr_applicant_category,hr.applicant_category,model_hr_applicant_category,,1,1,1,0 access_hr_applicant_category_manager,hr.applicant_category,model_hr_applicant_category,base.group_hr_manager,1,1,1,1 From 27efa96a51e433742ee826d2ea75f872013609b0 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Fri, 21 Sep 2012 14:18:23 +0530 Subject: [PATCH 05/31] [FIX]purchase:access right to purchase.order bzr revid: kbh@tinyerp.com-20120921084823-fedhgkqmsdh9ubdd --- addons/purchase/security/ir.model.access.csv | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/purchase/security/ir.model.access.csv b/addons/purchase/security/ir.model.access.csv index 3c8d072c536..04b6ff86e51 100644 --- a/addons/purchase/security/ir.model.access.csv +++ b/addons/purchase/security/ir.model.access.csv @@ -65,3 +65,4 @@ access_stock_tracking_purchase_user,stock.tracking purchase.user,stock.model_sto access_stock_location_purchase_manager,stock.location purchase manager,stock.model_stock_location,purchase.group_purchase_manager,1,0,0,0 access_stock_warehouse_orderpoint_manager,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,purchase.group_purchase_manager,1,0,0,0 access_stock_warehouse_orderpoint_manager,stock.warehouse.orderpoint,procurement.model_stock_warehouse_orderpoint,group_purchase_user,1,0,0,0 +access_purchase_order,purchase.order,model_purchase_order,base.group_partner_manager,1,0,0,0 \ No newline at end of file From 942c10775d2bed9b575f3040cc7ab342f3432d34 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 21 Sep 2012 14:51:39 +0530 Subject: [PATCH 06/31] [IMP] rename quantity field into Time Quantity in timesheets bzr revid: fka@tinyerp.com-20120921092139-v0zivzne452qc8h1 --- .../report/hr_timesheet_invoice_report.py | 10 +++++----- .../hr_timesheet_sheet/report/hr_timesheet_report.py | 2 +- addons/hr_timesheet_sheet/report/timesheet_report.py | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report.py b/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report.py index 6b6dd9f6e52..d54cbb319af 100644 --- a/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report.py +++ b/addons/hr_timesheet_invoice/report/hr_timesheet_invoice_report.py @@ -31,7 +31,7 @@ class report_timesheet_line(osv.osv): 'user_id': fields.many2one('res.users', 'User', readonly=True), 'date': fields.date('Date', readonly=True), 'day': fields.char('Day', size=128, readonly=True), - 'quantity': fields.float('Quantity', readonly=True), + 'quantity': fields.float('Time Quantity', readonly=True), 'cost': fields.float('Cost', readonly=True), 'product_id': fields.many2one('product.product', 'Product',readonly=True), 'account_id': fields.many2one('account.analytic.account', 'Analytic Account', readonly=True), @@ -83,7 +83,7 @@ class report_timesheet_user(osv.osv): _columns = { 'name': fields.char('Year',size=64,required=False, readonly=True), 'user_id':fields.many2one('res.users', 'User', readonly=True), - 'quantity': fields.float('Quantity', readonly=True), + 'quantity': fields.float('Time Quantity', readonly=True), 'cost': fields.float('Cost', readonly=True), 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True), @@ -117,7 +117,7 @@ class report_timesheet_account(osv.osv): 'name': fields.char('Year',size=64,required=False, readonly=True), 'user_id':fields.many2one('res.users', 'User', readonly=True), 'account_id':fields.many2one('account.analytic.account', 'Analytic Account', readonly=True), - 'quantity': fields.float('Quantity', readonly=True), + 'quantity': fields.float('Time Quantity', readonly=True), 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True), @@ -151,7 +151,7 @@ class report_timesheet_account_date(osv.osv): 'name': fields.char('Year',size=64,required=False, readonly=True), 'user_id':fields.many2one('res.users', 'User', readonly=True), 'account_id':fields.many2one('account.analytic.account', 'Analytic Account', readonly=True), - 'quantity': fields.float('Quantity', readonly=True), + 'quantity': fields.float('Time Quantity', readonly=True), 'month':fields.selection([('01','January'), ('02','February'), ('03','March'), ('04','April'), ('05','May'), ('06','June'), ('07','July'), ('08','August'), ('09','September'), ('10','October'), ('11','November'), ('12','December')],'Month',readonly=True), } @@ -185,7 +185,7 @@ class report_timesheet_invoice(osv.osv): 'user_id':fields.many2one('res.users', 'User', readonly=True), 'account_id':fields.many2one('account.analytic.account', 'Project', readonly=True), 'manager_id':fields.many2one('res.users', 'Manager', readonly=True), - 'quantity': fields.float('Quantity', readonly=True), + 'quantity': fields.float('Time Quantity', readonly=True), 'amount_invoice': fields.float('To invoice', readonly=True) } _rec_name = 'user_id' diff --git a/addons/hr_timesheet_sheet/report/hr_timesheet_report.py b/addons/hr_timesheet_sheet/report/hr_timesheet_report.py index 49b18f75e4b..c0e342c95e4 100644 --- a/addons/hr_timesheet_sheet/report/hr_timesheet_report.py +++ b/addons/hr_timesheet_sheet/report/hr_timesheet_report.py @@ -43,7 +43,7 @@ class hr_timesheet_report(osv.osv): 'account_id': fields.many2one('account.analytic.account', 'Analytic Account',readonly=True), 'company_id': fields.many2one('res.company', 'Company',readonly=True), 'cost': fields.float('Cost',readonly=True, digits_compute=dp.get_precision('Account')), - 'quantity': fields.float('Quantity',readonly=True), + 'quantity': fields.float('Time Quantity',readonly=True), } def init(self, cr): diff --git a/addons/hr_timesheet_sheet/report/timesheet_report.py b/addons/hr_timesheet_sheet/report/timesheet_report.py index 38e19d708d4..084c03735e7 100644 --- a/addons/hr_timesheet_sheet/report/timesheet_report.py +++ b/addons/hr_timesheet_sheet/report/timesheet_report.py @@ -52,7 +52,7 @@ class timesheet_report(osv.osv): ('draft','Draft'), ('confirm','Confirmed'), ('done','Done')], 'Status', readonly=True), - 'quantity': fields.float('#Quantity',readonly=True), + 'quantity': fields.float('#Time Quantity',readonly=True), 'cost': fields.float('#Cost',readonly=True), } From 15e54495178ae261aaa7e2c648bb09915bfbed50 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 21 Sep 2012 15:51:54 +0530 Subject: [PATCH 07/31] [IMP] romove error:message_subscribe() got an unexpected keyword argument 'user_ids' bzr revid: fka@tinyerp.com-20120921102154-v038oovqamxt3bt6 --- addons/hr_holidays/hr_holidays.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/hr_holidays/hr_holidays.py b/addons/hr_holidays/hr_holidays.py index 759170224bd..eb584208df8 100644 --- a/addons/hr_holidays/hr_holidays.py +++ b/addons/hr_holidays/hr_holidays.py @@ -303,7 +303,8 @@ class hr_holidays(osv.osv): self.check_holidays(cr, uid, ids, context=context) for record in self.browse(cr, uid, ids, context=context): if record.employee_id and record.employee_id.parent_id and record.employee_id.parent_id.user_id: - self.message_subscribe(cr, uid, [record.id], user_ids=[record.employee_id.parent_id.user_id.id], context=context) + user_ids=[record.employee_id.parent_id.user_id.id] + self.message_subscribe(cr, uid, [record.id], user_ids, context=context) self.holidays_confirm_notificate(cr, uid, ids, context=context) return self.write(cr, uid, ids, {'state':'confirm'}) From 10eb5a5591fae750e1ef153eb9044e9534a09cc3 Mon Sep 17 00:00:00 2001 From: "Foram Katharotiya (OpenERP)" Date: Fri, 21 Sep 2012 16:56:10 +0530 Subject: [PATCH 08/31] [IMP] In analytic account, select as customer a supplier whose customer checkbox is empty bzr revid: fka@tinyerp.com-20120921112610-d1x5mgfeifntds4n --- addons/analytic/analytic_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/analytic/analytic_view.xml b/addons/analytic/analytic_view.xml index 51f5428002f..8a5ac5057c5 100644 --- a/addons/analytic/analytic_view.xml +++ b/addons/analytic/analytic_view.xml @@ -21,7 +21,7 @@ - + From b69c65939ccea4bd51c279a72a828d3ae944c906 Mon Sep 17 00:00:00 2001 From: "Khushboo Bhatt (Open ERP)" Date: Fri, 21 Sep 2012 17:06:51 +0530 Subject: [PATCH 09/31] [FIX]purchase:fixes request for quotation report problems bzr revid: kbh@tinyerp.com-20120921113651-lc8a7ilb8747j440 --- addons/purchase/report/request_quotation.rml | 79 ++++++++++++-------- 1 file changed, 47 insertions(+), 32 deletions(-) diff --git a/addons/purchase/report/request_quotation.rml b/addons/purchase/report/request_quotation.rml index 9d23e97b385..bff23f5ccc0 100644 --- a/addons/purchase/report/request_quotation.rml +++ b/addons/purchase/report/request_quotation.rml @@ -1,6 +1,6 @@ - -