-
Notifications
You must be signed in to change notification settings - Fork 239
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] fieldservice_sale_recurring: Migration to 17.0 #1213
[17.0][MIG] fieldservice_sale_recurring: Migration to 17.0 #1213
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick functional review and works as intended.
Need to fix string formatting
a7b52c2
to
db05895
Compare
hello @brian10048 Can you update your review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@imlopes Can you also squash the translation commits (see https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate)
db05895
to
654bff5
Compare
Co-Authored-By: brian10048 <brian@mcmpest.com>
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: field-service-12.0/field-service-12.0-fieldservice_sale_recurring Translate-URL: https://translation.odoo-community.org/projects/field-service-12-0/field-service-12-0-fieldservice_sale_recurring/
- Was not calling super properly and FSM orders on the sale line that were not recurring orders were not being created. - Delete unused computed field.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: field-service-15.0/field-service-15.0-fieldservice_sale_recurring Translate-URL: https://translation.odoo-community.org/projects/field-service-15-0/field-service-15-0-fieldservice_sale_recurring/
Currently translated at 100.0% (18 of 18 strings) Translation: field-service-15.0/field-service-15.0-fieldservice_sale_recurring Translate-URL: https://translation.odoo-community.org/projects/field-service-15-0/field-service-15-0-fieldservice_sale_recurring/es/
Currently translated at 100.0% (18 of 18 strings) Translation: field-service-15.0/field-service-15.0-fieldservice_sale_recurring Translate-URL: https://translation.odoo-community.org/projects/field-service-15-0/field-service-15-0-fieldservice_sale_recurring/it/
Currently translated at 100.0% (18 of 18 strings) Translation: field-service-15.0/field-service-15.0-fieldservice_sale_recurring Translate-URL: https://translation.odoo-community.org/projects/field-service-15-0/field-service-15-0-fieldservice_sale_recurring/es_AR/
…generate wrong fsm_order (ex: Assigned To not set, start date wrong, recuring info not set, ...)
…d fsm order for recurring order
Do not copy FSM Order or FSM Recurring Orders on sale order line
654bff5
to
71f0588
Compare
@brian10048 Can you help us here? |
Working as intended. Thank you! |
/ocabot merge nobump |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at f330d83. Thanks a lot for contributing to OCA. ❤️ |
def _prepare_invoice_line(self, **optional_values): | ||
res = super()._prepare_invoice_line(**optional_values) | ||
if self.fsm_recurring_id: | ||
fsm_orders = self._get_invoiceable_fsm_order() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems this method was added here : b6fa0fb#diff-39a34800cd8567f4f4bc2657da63a2c24753af76b678249c2837f9ba6cc9f944 and the code was migrated (to 15.0 and here to 17.0) with this call but I couldn't find the method.
Am I missing something ?
@max3903 @gurneyalex
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@imlopes Good question.
@brian10048 Can you help?
No description provided.