-
-
Notifications
You must be signed in to change notification settings - Fork 538
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
[17.0][MIG] product_contract #1083
Conversation
* 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
00c3177
to
f579c2f
Compare
f579c2f
to
d1602ac
Compare
This PR has the |
/ocabot migration product_contract Have you checked v16 comments? |
I have been reviewing and yes, all the modifications indicated in the PR of 16.0 have been taken into account. |
/ocabot merge nobump |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 9865909. Thanks a lot for contributing to OCA. ❤️ |
"The migration of the module to version 17.0 has been completed. Several points indicated in the PR of version 16.0 have been corrected:
Migrated from #959
We have made a modification to the _get_contract_line_qty() function so that the calculation of the quantity of the line in the contract is the same as that of the sales order.