Browse Source

Some improvement

pull/55/head
Guillaume Auger 10 years ago
parent
commit
46622551bd
  1. 4
      account_move_line_report_xls/__init__.py
  2. 4
      account_move_line_report_xls/account_move_line.py
  3. 3
      account_move_line_report_xls/report/__init__.py

4
account_move_line_report_xls/__init__.py

@ -21,8 +21,8 @@
##############################################################################
try:
import account_move_line
import report
from . import account_move_line
from . import report
except ImportError:
import logging
logging.getLogger('openerp.module').\

4
account_move_line_report_xls/account_move_line.py

@ -27,7 +27,7 @@ class account_move_line(models.Model):
_inherit = 'account.move.line'
# override list in custom module to add/drop columns or change order
@api.multi
@api.model
def _report_xls_fields(self):
return [
'move', 'name', 'date', 'journal', 'period', 'partner', 'account',
@ -41,7 +41,7 @@ class account_move_line(models.Model):
]
# Change/Add Template entries
@api.multi
@api.model
def _report_xls_template(self):
"""
Template updates, e.g.

3
account_move_line_report_xls/report/__init__.py

@ -20,4 +20,5 @@
#
##############################################################################
import move_line_list_xls
from . import move_line_list_xls
Loading…
Cancel
Save