mirror of
https://github.com/bringout/odoomates.git
synced 2026-04-20 20:32:01 +02:00
fix: update pre_init_hook signature for 19.0 (env instead of cr)
accounting_pdf_reports: _pre_init_clean_m2m_models(cr) -> (env)
🤖 assisted by claude
This commit is contained in:
parent
788ea7113e
commit
348f7abe95
1 changed files with 2 additions and 2 deletions
|
|
@ -6,5 +6,5 @@ from . import models
|
||||||
from . import report
|
from . import report
|
||||||
|
|
||||||
|
|
||||||
def _pre_init_clean_m2m_models(cr):
|
def _pre_init_clean_m2m_models(env):
|
||||||
cr.execute("""DROP TABLE IF EXISTS account_journal_account_report_partner_ledger_rel""")
|
env.cr.execute("""DROP TABLE IF EXISTS account_journal_account_report_partner_ledger_rel""")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue