Skip to content

Conversation

@tobiaszehntner
Copy link
Contributor

Defer Contract Lines to avoid invoicing while start date unknown

Enable to defer contract line's invoicing. If a contract line start date is not known, it can be deferred. It will not be invoiced until manually activated.

@tobiaszehntner tobiaszehntner force-pushed the 18.0-add-contract-line-defer branch from 6f7b2ba to c710c94 Compare November 18, 2025 13:20
Copy link

@acsonefho acsonefho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only minor stuff!
Really good job 💪

"data": [
"views/contract_line.xml",
],
"auto_install": True,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sense for OCA module?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense for a bridge module. If both contract_line_defer and contract_line_successor are installed, this module should be installed to make sure everything works properly.

From Odoo docs:

auto_install (bool or list(str), default: False)
If True, this module will automatically be installed if all of its dependencies are installed.

It is generally used for “link modules” implementing synergetic integration between two otherwise independent modules.

@tobiaszehntner tobiaszehntner force-pushed the 18.0-add-contract-line-defer branch from c710c94 to 0541b4c Compare November 20, 2025 08:25
@tobiaszehntner tobiaszehntner force-pushed the 18.0-add-contract-line-defer branch from 0541b4c to 00ca05a Compare November 20, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants