Rename many2many table

This commit is contained in:
Matthieu Dietrich
2016-06-20 17:07:31 +02:00
committed by Florian da Costa
parent 36521b3e6f
commit b494e5c873
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ class AccountJournal(models.Model):
rule_ids = fields.Many2many(
comodel_name='account.move.completion.rule',
string='Auto-completion rules',
rel='as_rul_st_prof_rel')
relation='account_journal_completion_rule_rel')
launch_import_completion = fields.Boolean(
string="Launch completion after import",

View File

@@ -51,7 +51,7 @@ class AccountMoveCompletionRule(models.Model):
string='Name')
journal_ids = fields.Many2many(
comodel_name='account.journal',
rel='as_rul_st_prof_rel',
relation='account_journal_completion_rule_rel',
string='Related journals')
function_to_call = fields.Selection([
('get_from_name_and_invoice',