← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 876895] Re: base_report_to_printer wrong import statement

 

** Attachment added: "domsense-base_calendar_imports"
   https://bugs.launchpad.net/domsense-agilebg-addons/+bug/876895/+attachment/2555515/+files/domsense-base_calendar_imports

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/876895

Title:
  base_report_to_printer wrong import statement

Status in OpenERP Addons by Agile BG & Domsense:
  New

Bug description:
  your base_report_to_printer writes

  from addons.base_calendar import base_calendar

  but this raises an ImportError if someone specifies the addons_path as a list in server config file
  the solution is to simply write

  from base_calendar import base_calendar as every addons directory is
  added to the PYTHONPATH

  the attached merge directive corrects this

To manage notifications about this bug go to:
https://bugs.launchpad.net/domsense-agilebg-addons/+bug/876895/+subscriptions


References