← Back to team overview

openerp-india team mailing list archive

[Bug 1068053] [NEW] check_writing report bug: impossible to open in base_report_designer/openoffice because of sxw filename

 

Public bug reported:

Seems like there's a bug with the module account_check_writing.

It's not possible to use  OpenERP base_report_designer under OpenOffice to open the following reports:
Accounting voucher -  Print Check (Bottom)
Accounting voucher -  Print Check (Top)
Accounting voucher -  Print Check (Middle)

Because the way OpenOffice seems to work is the following when opening existing report under OpenOffice:
1. Take the report filename in the DB, which in our case is:
- account_check_writing/report/check_print_bottom.rml 
2. Remove the "rml" extension and add "sxw"

But the problem in account_check_report is that we have the following files:
check_print.sxw
check_print_bottom.rml
check_print_top.rml
check_print_middle.rml
Which makes it impossible to find back the correct sxw name.

A solution would be to rename check_print.sxw into:
check_print_top.sxw
check_print_bottom.sxw
and check_print_bottom.sxw

But I don't know if it's the best possible solution.

** Affects: openobject-addons
     Importance: Undecided
         Status: New


** Tags: 6.1 base check-writing designer office open profserv report

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1068053

Title:
  check_writing report bug: impossible to open in
  base_report_designer/openoffice because of sxw filename

Status in OpenERP Addons (modules):
  New

Bug description:
  Seems like there's a bug with the module account_check_writing.

  It's not possible to use  OpenERP base_report_designer under OpenOffice to open the following reports:
  Accounting voucher -  Print Check (Bottom)
  Accounting voucher -  Print Check (Top)
  Accounting voucher -  Print Check (Middle)

  Because the way OpenOffice seems to work is the following when opening existing report under OpenOffice:
  1. Take the report filename in the DB, which in our case is:
  - account_check_writing/report/check_print_bottom.rml 
  2. Remove the "rml" extension and add "sxw"

  But the problem in account_check_report is that we have the following files:
  check_print.sxw
  check_print_bottom.rml
  check_print_top.rml
  check_print_middle.rml
  Which makes it impossible to find back the correct sxw name.

  A solution would be to rename check_print.sxw into:
  check_print_top.sxw
  check_print_bottom.sxw
  and check_print_bottom.sxw

  But I don't know if it's the best possible solution.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/1068053/+subscriptions


Follow ups

References