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 #1006

Closed
wants to merge 155 commits into from
Closed

Conversation

mileo
Copy link
Member

@mileo mileo commented Oct 13, 2023

Replace: #959

Ted Salmon and others added 30 commits April 29, 2023 22:42
* 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
fcolus and others added 23 commits April 29, 2023 22:42
Currently translated at 100.0% (49 of 49 strings)

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

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

Translation: contract-12.0/contract-12.0-product_contract
Translate-URL: https://translation.odoo-community.org/projects/contract-12-0/contract-12-0-product_contract/fr/
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/
@bvanjeelharia
Copy link

Hey @mileo ,

Currently,ff contract template is not defined on contract products, it throws an error ("You must specify a contract template for") when a sale order is being confirmed. So , can you make it mandatory at the product level to specify contract template for contract products as otherwise users making a purchase of contract products on the website would run into this issue as can be seen in the screenshot after they have made the payment.
Screenshot from 2023-10-16 14-15-06

Thanks

Manuel-Dellisse added a commit to ACCOMODATA-BVBA/contract that referenced this pull request Oct 18, 2023
@Rad0van
Copy link
Contributor

Rad0van commented Nov 9, 2023

Replace: #959

Can you tell the reason?

Copy link

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 Mar 10, 2024
@pedrobaeza
Copy link
Member

As #959 is green and previous to this one, I close it.

@pedrobaeza pedrobaeza closed this Mar 11, 2024
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.