[19.0][MIG] contract_forecast#1464
Open
Larsq1 wants to merge 35 commits into
Open
Conversation
…s set to auto_renew
use the new methods for next period calculation result of the refactoring in OCA#434 to consider the recurring_invoicing_type for monthlylastday mode and clean code
…ract lines If a contract line is set to auto renew the forecast should continue after the date end and stop at the company forecast period
…ntracts If a contract line have and undefined date end the forecast should continue to the company forecast period
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration
Standard migration of
contract_forecastto 19.0.Depends on #1370 (
[19.0][MIG] contract_line_successor) — this module's Odoo dependencies arecontract_line_successorandqueue_job.queue_jobis already on the 19.0 branch (OCA/queue), butcontract_line_successoris not yet, so this PR is opened as draft until #1370 merges.Changes
18.0.1.0.1→19.0.1.0.0models/contract.py: dropfrom odoo import _and switch toself.env._()per the 18.0+ translation guidelineviews/contract_line_forecast_period.xml: remove deprecatedstring/expandattributes from the<group>element in the search view (per OCA migration-to-19.0 guide)README.rst,static/description/index.html, and.pot/.poheaders (pot,sl,sv) to 19.0No other API breaks applied — module already uses 19.0-compatible patterns (no
_sql_constraints, noread_group, noosv.expression, no_cr/_uid/_contextaccessors, search view useslistinstead oftree).Test plan
post_init_hookenqueues forecast-period generation jobs without errortests/test_contract_line_forecast_period.pypass