Browse Source

If the relation table and fields are not explicit, they are created on

the wrong table (the base model from which the model _inherit)

See https://github.com/odoo/odoo/issues/3751
pull/28/head
Guewen Baconnier 10 years ago
parent
commit
79798cb9f7
  1. 9
      account_journal_report_xls/wizard/print_journal_wizard.py

9
account_journal_report_xls/wizard/print_journal_wizard.py

@ -33,8 +33,13 @@ class account_print_journal_xls(orm.TransientModel):
_name = 'account.print.journal.xls'
_description = 'Print/Export Journal'
_columns = {
'journal_ids': fields.many2many('account.journal', string='Journals',
required=True),
'journal_ids': fields.many2many(
'account.journal',
'account_print_journal_xls_journal_rel',
'journal_xls_id',
'journal_id',
string='Journals',
required=True),
'group_entries': fields.boolean(
'Group Entries',
help="Group entries with same General Account & Tax Code."),

Loading…
Cancel
Save