Browse Source

technical update

pull/7/merge
Luc De Meyer 11 years ago
parent
commit
2eee7ff1ac
  1. 4
      account_move_line_report_xls/__init__.py
  2. 7
      account_move_line_report_xls/account_move_line.py
  3. 2
      account_move_line_report_xls/report/__init__.py
  4. 11
      account_move_line_report_xls/report/move_line_list_xls.py

4
account_move_line_report_xls/__init__.py

@ -20,5 +20,5 @@
#
##############################################################################
import account_move_line
import report
from . import account_move_line
from . import report

7
account_move_line_report_xls/account_move_line.py

@ -20,9 +20,9 @@
#
##############################################################################
from osv import osv, fields
from openerp.osv import fields, orm
class account_move_line(osv.osv):
class account_move_line(orm.Model):
_inherit = 'account.move.line'
# override list in custom module to add/drop columns or change order
@ -31,6 +31,3 @@ class account_move_line(osv.osv):
'move', 'name', 'date', 'period', 'partner', 'account',
'date_maturity', 'debit', 'credit', 'balance', 'reconcile', 'reconcile_partial',
]
account_move_line()

2
account_move_line_report_xls/report/__init__.py

@ -20,4 +20,4 @@
#
##############################################################################
import move_line_list_xls
from . import move_line_list_xls

11
account_move_line_report_xls/report/move_line_list_xls.py

@ -23,12 +23,11 @@
import xlwt
import time
from datetime import datetime
from report import report_sxw
from report_xls.report_xls import report_xls
from report_xls.utils import rowcol_to_cell, _render
from account_move_line_report.report.move_line_list_print import move_line_list_print
from tools.translate import _
import pooler
from openerp.report import report_sxw
from openerp.addons.report_xls.report_xls import report_xls
from openerp.addons.report_xls.utils import rowcol_to_cell, _render
from openerp.tools.translate import _
from openerp import pooler
import logging
_logger = logging.getLogger(__name__)

Loading…
Cancel
Save