diff options
| author | Olivier Dony <odo@openerp.com> | 2011-09-26 19:18:37 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2011-09-26 19:18:37 +0200 |
| commit | 6a4e31d9fe5d53da1c50813c0bd8a7ca3ee71690 (patch) | |
| tree | 987551647a2da90e540505cd249bed1d88e2a885 /addons | |
| parent | 48aaac81fa5df492decdf9272c89ed795e3fd916 (diff) | |
[FIX] account: make account.report.common's journal_ids column inheritable
This is achieved by using implicit naming of
SQL names supporting m2m (table and columns),
so that m2m fields can be inherited via _inherit
without FK problems.
bzr revid: odo@openerp.com-20110926171837-pejhibnmgqr5nfj3
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/wizard/account_report_common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/wizard/account_report_common.py b/addons/account/wizard/account_report_common.py index 7aa4c465e0d..98ac8af80be 100644 --- a/addons/account/wizard/account_report_common.py +++ b/addons/account/wizard/account_report_common.py @@ -35,7 +35,7 @@ class account_common_report(osv.osv_memory): 'filter': fields.selection([('filter_no', 'No Filters'), ('filter_date', 'Date'), ('filter_period', 'Periods')], "Filter by", required=True), 'period_from': fields.many2one('account.period', 'Start Period'), 'period_to': fields.many2one('account.period', 'End Period'), - 'journal_ids': fields.many2many('account.journal', 'account_common_journal_rel', 'account_id', 'journal_id', 'Journals', required=True), + 'journal_ids': fields.many2many('account.journal', string='Journals', required=True), 'date_from': fields.date("Start Date"), 'date_to': fields.date("End Date"), 'target_move': fields.selection([('posted', 'All Posted Entries'), |
