-
-
Notifications
You must be signed in to change notification settings - Fork 526
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] account_payment_sale #982
Conversation
191da88
to
7d2f99d
Compare
Hi @atchuthan Can you rebase please now that dependency has been merge ? |
- account_payment_partner - account_payment_sale - account_payment_sale_stock - account_payment_purchase Filter the selection of invoices per payment type. Add active field on payment.mode and payment.mode.type. Add menu entry for Payment Types.
* Migration and enhancement of all modules involved in SEPA * Remove duplicated files * Check if payment mode is set in the propagation * Clean files * account_payment_sale_stock: Split for removing stock dependency on sale * Remove old translations templates * Reorder on folder structure * Translation template files * Translations to spanish * Use sale_ok and purchase_ok instead of tweaking payment type * Add sale_ok and purchase_ok filters in partner/sale/purchase form views * Use widget=selection for payment_mode_id fields * Update demo data
Port almost all modules to v10 * Update to EPC Rulebook v9.2 that start to apply on 2016-11-20 (bug OCA#300)
Currently translated at 100,0% (4 of 4 strings) Translation: bank-payment-11.0/bank-payment-11.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-11-0/bank-payment-11-0-account_payment_sale/es/
Currently translated at 100.0% (4 of 4 strings) Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/pt_BR/
Currently translated at 100.0% (4 of 4 strings) Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/zh_CN/
…d from a call to sale.action_invoice_create Into the normal process of the invoice creation from a sale order by odoo, the onchange_partner is called. In some case, this call will reset the specific payment_mode and/or partner_bank_id set on the sale_order. To fix this issue, we must override the _finalize_invoices method, take a snapshot of these values before the call to super and restore these values if these are changed. fixes OCA#536
Currently translated at 100.0% (4 of 4 strings) Translation: bank-payment-12.0/bank-payment-12.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-12-0/bank-payment-12-0-account_payment_sale/ca/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: bank-payment-13.0/bank-payment-13.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-13-0/bank-payment-13-0-account_payment_sale/
Currently translated at 85.7% (6 of 7 strings) Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/sv/
Currently translated at 100.0% (7 of 7 strings) Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/it/
Currently translated at 80.0% (4 of 5 strings) Translation: bank-payment-14.0/bank-payment-14.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-14-0/bank-payment-14-0-account_payment_sale/es/
Currently translated at 100.0% (7 of 7 strings) Translation: bank-payment-15.0/bank-payment-15.0-account_payment_sale Translate-URL: https://translation.odoo-community.org/projects/bank-payment-15-0/bank-payment-15-0-account_payment_sale/ca/
7d2f99d
to
e7b4edb
Compare
rebase done |
Great work, thank you. I'll approve it once you'll have integrated my PR sodexis#1 on this PR. It adds payment_mode_id to sale.report. |
@alexis-via Done |
/ocabot merge nobump |
Hey, thanks for contributing! Proceeding to merge this for you. |
Congratulations, your PR was merged at 252f151. Thanks a lot for contributing to OCA. ❤️ |
/ocabot migration account_payment_sale |
@alexis-via I think there is a missing block here: payment_mode_id should be added in invoice grouping here: https://github.com/odoo/odoo/blob/16.0/addons/sale/models/sale_order.py#L1045C5-L1046C59 What do you think ? |
Depends on #969
cc: @SodexisTeam