mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[REF] Contract Forecast: split from analytic account
This commit is contained in:
committed by
sbejaoui
parent
2be43da7f9
commit
0e4daa70d1
@@ -12,7 +12,7 @@ def migrate(cr, version):
|
||||
cr.execute("""
|
||||
UPDATE contract_line_forecast_period AS forecast
|
||||
SET company_id=contract.company_id
|
||||
FROM account_analytic_account AS contract
|
||||
FROM contract_contract AS contract
|
||||
WHERE forecast.contract_id=contract.id
|
||||
AND forecast.contract_id IS NOT NULL
|
||||
""")
|
||||
|
||||
Reference in New Issue
Block a user