Skip to content

19.0 [MIG] product contract - #1336

Draft
Wodran14 wants to merge 196 commits into
OCA:19.0from
DynAppsNV:19.0-mig-product_contract
Draft

19.0 [MIG] product contract#1336
Wodran14 wants to merge 196 commits into
OCA:19.0from
DynAppsNV:19.0-mig-product_contract

Conversation

@Wodran14

@Wodran14 Wodran14 commented Nov 4, 2025

Copy link
Copy Markdown

No description provided.

Ted Salmon and others added 30 commits November 4, 2025 15:23
* Add contract functionality to `product.templates`
* Add logic to create contracts from `sale.order` that contains contract products.
* Change the method called in the view
* Complete the create_invoice method
* Bump version + authoring
* Correct bad call of method
  Small Documentation
* Add super call in python test
* FIX bad field names causing bad quantities in sale.order.line
- On Sale Order confirmation, a contract is created for each contract template used on sale order lines
- A not finished contract can be mentioned on sale order line
- A sale order line linked to a contract will update it and don't create a new one if it had the same template
recurring_next_date should be computed by contract line to get default value
- Sale order line for contract product pass to nothing to invoice on order confirmation
- Contract Invoices are linked to sale order line
…lylastday

for the monthlylastday case, pre-paid is logicly impossible,
if monthlylastday is set, we consider only post-paid case
mymage and others added 22 commits November 4, 2025 15:23
Currently translated at 100.0% (90 of 90 strings)

Translation: contract-18.0/contract-18.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract/it/
Currently translated at 95.5% (86 of 90 strings)

Translation: contract-18.0/contract-18.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract/tr/
Currently translated at 100.0% (112 of 112 strings)

Translation: contract-18.0/contract-18.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract/sv/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-18.0/contract-18.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: contract-18.0/contract-18.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract/
Currently translated at 100.0% (113 of 113 strings)

Translation: contract-18.0/contract-18.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract/it/
Currently translated at 76.9% (87 of 113 strings)

Translation: contract-18.0/contract-18.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-18-0/contract-18-0-product_contract/tr/
@Wodran14
Wodran14 marked this pull request as draft November 4, 2025 16:01
@Wodran14 Wodran14 mentioned this pull request Nov 13, 2025
27 tasks
@yvaucher

Copy link
Copy Markdown
Member

/ocabot migration product_contract

@OCA-git-bot OCA-git-bot added this to the 19.0 milestone Feb 24, 2026
@OCA-git-bot

Copy link
Copy Markdown
Contributor

The migration issue (#1310) has not been updated to reference the current pull request because a previous pull request (#1371) is not closed.
Perhaps you should check that there is no duplicate work.
CC @bosd

@yvaucher

Copy link
Copy Markdown
Member

@Wodran14 I assume the other PR was favorised because this one is still in draft, don't forget to change the state of your PR if you consider it ready.

@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale PR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.