← Back to team overview

openerp-dev team mailing list archive

Undefined variables in the addons project

 

Hi all,

In the addons project, I think we have missing variables in the code because we have many undefined names in the files.

Could you fix these issues ?

Thank you

Stéphane
-- 
Stephane Wirtel - "As OpenERP is OpenSource, please feel free to contribute."
Quality/Release Manager
Technical Project Manager
OpenERP S.A.
Chaussee de Namur, 40
B-1367 Grand-Rosière
Tel: +32.81.81.37.00
Web: http://www.openerp.com
Planet: http://www.openerp.com/planet/
Blog: http://stephane-wirtel-at-tiny.blogspot.com
./project_long_term/wizard/project_compute_tasks.py:22: 'from resource.faces import *' used; unable to detect undefined names
./project_long_term/wizard/project_compute_phases.py:23: 'from resource.faces import *' used; unable to detect undefined names
./project_long_term/wizard/project_schedule_tasks.py:22: 'from resource.faces import *' used; unable to detect undefined names
./hr_evaluation/hr_evaluation.py:142: undefined name 'obj_evaluation'
./hr_evaluation/hr_evaluation.py:239: undefined name 'user'
./hr_evaluation/hr_evaluation.py:244: undefined name 'src'
./crm_caldav/crm_caldav.py:39: undefined name 'base_calendar'
./project/project.py:690: undefined name 'uom_obj'
./hr_payroll_account/hr_payroll_account.py:410: undefined name 'contrib'
./hr_payroll_account/hr_payroll_account.py:410: undefined name 'contrib'
./hr_payroll/report/rml_parse.py:71: undefined name 'strptime'
./hr_payroll/report/rml_parse.py:111: undefined name 'rstrip'
./resource/faces/plocale.py:33: undefined name 'sys'
./resource/faces/plocale.py:34: undefined name 'sys'
./resource/faces/task.py:969: undefined name 'me'
./resource/faces/task.py:1284: undefined name 'start'
./resource/faces/task.py:1482: undefined name 'me'
./resource/faces/task.py:1504: undefined name 'me'
./resource/faces/task.py:1526: undefined name 'me'
./resource/faces/task.py:1548: undefined name 'me'
./resource/faces/task.py:2322: undefined name 'last_end'
./resource/faces/task.py:2324: undefined name 'last_index'
./resource/faces/task.py:2325: undefined name 'last_index'
./resource/faces/pcalendar.py:35: 'from string import *' used; unable to detect undefined names
./resource/faces/resource.py:749: undefined name 'abstract'
./resource/faces/resource.py:777: undefined name 'lower'
./stock_planning/wizard/stock_planning_forecast.py:59: undefined name '_'
./stock_planning/wizard/stock_planning_forecast.py:59: undefined name '_'
./outlook/plugin/addin.py:21: 'from tiny_xmlrpc import *' used; unable to detect undefined names
./outlook/plugin/tiny_xmlrpc.py:32: 'from email.parser import *' used; unable to detect undefined names
./outlook/plugin/manager.py:125: undefined name 'e'
./outlook/plugin/dialogs/dialog_map.py:4: 'from processors import *' used; unable to detect undefined names
./outlook/plugin/dialogs/dialog_map.py:5: 'from opt_processors import *' used; unable to detect undefined names
./outlook/plugin/dialogs/processors.py:6: 'from dlgutils import *' used; unable to detect undefined names
./outlook/plugin/dialogs/opt_processors.py:8: 'from dlgutils import *' used; unable to detect undefined names
./outlook/plugin/dialogs/dlgcore.py:8: 'from dlgutils import *' used; unable to detect undefined names
./outlook/plugin/dialogs/resources/rcparser.py:171: undefined name 'more'
./mrp/report/workcenter_load.py:24: 'from pychart import *' used; unable to detect undefined names
./mrp/report/workcenter_load.py:25: 'from mx.DateTime import *' used; unable to detect undefined names
./base_report_designer/wizard/tiny_sxw2rml/tiny_sxw2rml.py:158: undefined name 'copy'
./account_voucher/report/rml_parse.py:72: undefined name 'strptime'
./account_voucher/report/rml_parse.py:111: undefined name 'rstrip'
./account_budget/report/crossovered_budget_report.py:202: undefined name 'tot'
./account_budget/report/crossovered_budget_report.py:203: undefined name 'tot'
./account_budget/report/crossovered_budget_report.py:204: undefined name 'tot'
./account_budget/report/crossovered_budget_report.py:205: undefined name 'tot'
./account_budget/report/analytic_account_budget_report.py:177: undefined name 'tot'
./account_budget/report/analytic_account_budget_report.py:178: undefined name 'tot'
./account_budget/report/analytic_account_budget_report.py:179: undefined name 'tot'
./account_budget/report/analytic_account_budget_report.py:180: undefined name 'tot'
./base_module_record/base_module_record.py:547: undefined name 'attrs'
./point_of_sale/pos.py:1245: undefined name 'wizard'
./point_of_sale/report/pos_users_product.py:46: undefined name 'a'
./project_scrum/project_scrum.py:145: undefined name 'scrum_sprint'
./project_scrum/report/task_burndown.py:30: 'from pychart import *' used; unable to detect undefined names
./project_scrum/report/sprint_burndown.py:31: 'from pychart import *' used; unable to detect undefined names
./l10n_ch/report/bvr.py:40: 'from mx.DateTime import *' used; unable to detect undefined names
./hr_recruitment/wizard/hr_recruitment_phonecall.py:48: undefined name 'case'
./hr_recruitment/wizard/hr_recruitment_phonecall.py:48: undefined name 'case'
./hr_holidays/hr_holidays.py:227: undefined name 'i'
./process/process.py:36: undefined name 'ExprContext'
./hr_attendance/report/attendance_by_month.py:79: undefined name 'ldt'
./hr_attendance/report/timesheet.py:83: undefined name 'ldt'
./hr_attendance/report/timesheet.py:83: undefined name 'ldt'
./hr_attendance/report/timesheet.py:83: undefined name 'ldt'
./mrp_repair/mrp_repair.py:404: undefined name 'a'
./document/nodes.py:301: undefined name 'logger'
./document/nodes.py:314: undefined name 'logger'
./document/nodes.py:652: undefined name 'logger'
./document/nodes.py:1216: undefined name 'logger'
./document/nodes.py:1359: undefined name 'logging'
./document/nodes.py:1377: undefined name 'parent'
./document/nodes.py:1377: undefined name 'ctx'
./document/nodes.py:1382: undefined name 'logging'
./document/document_storage.py:291: undefined name 'out'
./document/document_storage.py:291: undefined name 'out'
./document/document_storage.py:698: undefined name 'boo'
./document/document_storage.py:734: undefined name 'fil_bo'
./document/document_storage.py:737: undefined name 'storage_bo'
./document/document_storage.py:741: undefined name 'new_name'
./document/document_storage.py:742: undefined name 'new_name'
./document/document_storage.py:744: undefined name 'ira'
./document/document_storage.py:748: undefined name 'new_name'
./document/document_storage.py:752: undefined name 'new_name'
./document/document_storage.py:752: undefined name 'new_name'
./document/document_storage.py:752: undefined name 'new_name'
./document/document_storage.py:754: undefined name 'boo'
./document/document_directory.py:229: undefined name 'uri'
./document/document_directory.py:230: undefined name 'node_database'
./document/document_directory.py:230: undefined name 'cr'
./document/document_directory.py:230: undefined name 'uid'
./document/document_directory.py:230: undefined name 'context'
./document/document_directory.py:231: undefined name 'uri'
./document/document_directory.py:232: undefined name 'node_class'
./document/document_directory.py:232: undefined name 'cr'
./document/document_directory.py:232: undefined name 'uid'
./document/document_directory.py:232: undefined name 'context'
./document/document_directory.py:233: undefined name 'uri'
./document_webdav/dav_fs.py:35: 'from DAV.errors import *' used; unable to detect undefined names
./document_webdav/dav_fs.py:36: 'from DAV.iface import *' used; unable to detect undefined names
./document_webdav/webdav_server.py:40: 'from DAV.errors import *' used; unable to detect undefined names
./purchase_requisition/purchase_requisition.py:138: undefined name 'netsvc'
./caldav/calendar.py:24: 'from dateutil.rrule import *' used; unable to detect undefined names
./stock/report/stock_graph.py:21: 'from pychart import *' used; unable to detect undefined names
./stock/wizard/stock_ups.py:66: undefined name 'netsvc'
./stock/wizard/stock_ups.py:67: undefined name 'data'
./stock/wizard/stock_ups.py:84: undefined name 'netsvc'
./stock/wizard/stock_ups.py:85: undefined name 'data'
./account_report/report/print_indicator.py:35: 'from pychart import *' used; unable to detect undefined names
./account_report/wizard/account_report_print_indicators_with_pdf.py:22: 'from mx.DateTime import *' used; unable to detect undefined names
./olap/olap.py:25: 'from pyparsing import *' used; unable to detect undefined names
./olap/cube/common.py:2: 'from sqlalchemy import *' used; unable to detect undefined names
./olap/cube/mdx_parser.py:19: 'from pyparsing import *' used; unable to detect undefined names
./olap/cube/warehouse.py:30: 'from sqlalchemy import *' used; unable to detect undefined names
./olap/cube/warehouse.py:37: 'from pyparsing import *' used; unable to detect undefined names
./olap/cube/measure.py:8: 'from pyparsing import *' used; unable to detect undefined names
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/cube/mdx_output/mdx_output.py:51: undefined name 'Decimal'
./olap/wizard/wizard_load_data.py:176: undefined name 'osv'
./olap/wizard/wizard_load_data.py:259: undefined name 'passwrd'
./olap/wizard/wizard_load_data.py:262: undefined name 'osv'
./thunderbird/partner/partner.py:188: undefined name 'sattach_obj'
./l10n_lu/wizard/print_vat.py:13: 'from mx.DateTime import *' used; unable to detect undefined names
./survey/survey.py:32: 'from mx.DateTime import *' used; unable to detect undefined names
./account/account_move_line.py:97: undefined name 'p_ids'
./account/account.py:2666: undefined name 'view_id_cur'
./account/report/compare_account_balance.py:496: undefined name 'bal_zero'
./account/report/compare_account_balance.py:545: undefined name 'ref_bal'
./account/report/compare_account_balance.py:568: undefined name 'ref_bal'
./account/report/rml_parse.py:71: undefined name 'strptime'
./account/report/rml_parse.py:110: undefined name 'rstrip'
./account/report/common_report_header.py:84: undefined name '_'
./account/report/common_report_header.py:84: undefined name '_'
./account/report/account_balance_landscape.py:499: undefined name 'bal_zero'
./account/report/account_balance_landscape.py:549: undefined name 'ref_bal'
./account/report/account_balance_landscape.py:572: undefined name 'ref_bal'
./account/wizard/account_statement_from_invoice.py:70: undefined name 'cursor'
./account/wizard/account_statement_from_invoice.py:70: undefined name 'user'
./account/wizard/account_statement_from_invoice.py:73: undefined name 'cursor'
./account/wizard/account_statement_from_invoice.py:73: undefined name 'user'
./account/wizard/account_report_aged_partner_balance.py:24: 'from mx.DateTime import *' used; unable to detect undefined names
./account_payment/wizard/account_payment_pay.py:47: undefined name 'mod_obj'
./account_payment/wizard/account_payment_pay.py:48: undefined name 'mod_obj'
./account_payment/wizard/account_payment_pay.py:49: undefined name 'act_obj'
./project_caldav/project_caldav.py:56: undefined name 'datetime'
./project_caldav/project_caldav.py:57: undefined name 'datetime'
./account_coda/wizard/account_coda_import.py:212: undefined name 'pool'
./account_analytic_analysis/account_analytic_analysis.py:497: undefined name 'except_orm'
./account_analytic_analysis/account_analytic_analysis.py:673: undefined name 'except_orm'
./auction/auction.py:621: undefined name 'invoice'
./auction/barcode/test.py:3: 'from common import *' used; unable to detect undefined names
./auction/barcode/test.py:4: 'from code39 import *' used; unable to detect undefined names
./auction/barcode/test.py:5: 'from code93 import *' used; unable to detect undefined names
./auction/barcode/test.py:6: 'from code128 import *' used; unable to detect undefined names
./auction/barcode/test.py:7: 'from usps import *' used; unable to detect undefined names
./auction/report/lots_list_landscape.py:28: undefined name 'lots_list_landscape'
./auction/report/lots_list_landscape.py:34: undefined name 'lots_list_landscape'
./auction/wizard/auction_lots_sms_send.py:61: undefined name 'data'
./auction/wizard/auction_lots_sms_send.py:61: undefined name 'data'
./auction/wizard/auction_lots_sms_send.py:61: undefined name 'data'
./auction/wizard/auction_lots_sms_send.py:61: undefined name 'data'
./auction/wizard/auction_aie_send.py:141: undefined name 'netsvc'
./auction/wizard/auction_aie_send.py:149: undefined name '_photo_bin_send'
./auction/wizard/auction_aie_send.py:184: undefined name 'netsvc'
./auction/wizard/auction_aie_send.py:210: undefined name '_catalog_send'
./auction/wizard/auction_aie_send.py:212: undefined name '_photos_send'
./auction/wizard/auction_lots_buyer_map.py:86: undefined name '_'
./auction/wizard/auction_transfer_unsold_object.py:38: undefined name '_start'
./crm/report/report_businessopp.py:34: 'from pychart import *' used; unable to detect undefined names
./crm/wizard/crm_partner_to_opportunity.py:62: undefined name 'pooler'
./document_ftp/ftpserver/abstracted_fs.py:199: undefined name 'node'
./document_ftp/ftpserver/authorizer.py:51: undefined name 'pooler'
./document_ftp/ftpserver/authorizer.py:52: undefined name 'security'
begin:vcard
fn;quoted-printable:St=C3=A9phane Wirtel
n;quoted-printable:Wirtel;St=C3=A9phane
org:OpenERP S.A.
adr;quoted-printable;quoted-printable:;;Chauss=C3=A9e de Namur, 40;Grand-Rosi=C3=A8re;;1367;Belgium
email;internet:stw@xxxxxxxxxxx
title:Developer
tel;work:+32.81.81.37.00
note;quoted-printable:OpenERP is an Open Source enterprise management software=0D=0A=
	=0D=0A=
	http://www.openerp.com
url:http://www.openerp.com
version:2.1
end:vcard