Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16.0][MIG] product contract from 17.0 #1090

Open
wants to merge 158 commits into
base: 16.0
Choose a base branch
from

Conversation

maisim
Copy link

@maisim maisim commented Jun 10, 2024

A backport from version 17, a PR already exists #959 to port the version from 15 to 16 but it seemed simpler to me to start from 17

  • It seems we need to add tests
  • I haven't done any functional tests yet.

Ted Salmon and others added 30 commits June 10, 2024 11:04
* 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
mourad-ehm and others added 21 commits June 10, 2024 11:04
Currently translated at 100.0% (49 of 49 strings)

Translation: contract-14.0/contract-14.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-product_contract/it/
Currently translated at 100.0% (49 of 49 strings)

Translation: contract-14.0/contract-14.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-14-0/contract-14-0-product_contract/it/
Currently translated at 100.0% (49 of 49 strings)

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

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

Translation: contract-17.0/contract-17.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-17-0/contract-17-0-product_contract/it/
@maisim maisim force-pushed the 16.0-mig-product_contract-from-17.0 branch 2 times, most recently from 3bc1c9e to e814801 Compare June 17, 2024 09:52
@maisim maisim changed the title 16.0 mig product contract from 17.0 [16.0]|MIG] product contract from 17.0 Jun 17, 2024
@maisim maisim changed the title [16.0]|MIG] product contract from 17.0 [16.0][MIG] product contract from 17.0 Jun 17, 2024
@maisim maisim force-pushed the 16.0-mig-product_contract-from-17.0 branch from e814801 to 6e31953 Compare June 18, 2024 08:59
@maisim maisim marked this pull request as ready for review June 18, 2024 15:03
@maisim maisim mentioned this pull request Jun 19, 2024
12 tasks
@Rad0van
Copy link
Sponsor Contributor

Rad0van commented Jun 21, 2024

If you read the description of #1083 it is based on #959 So far for making it easier ;-) I have carried over changes from #1083 into #959 so now they're on the same level.

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.

None yet