forked from OCA/commission
-
Notifications
You must be signed in to change notification settings - Fork 0
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
[15.0] sale_commission_formula: Migration to 15.0 #2
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6566dbe
to
e026a5a
Compare
- Remove onchange hackings as they are not needed with new JS views. - Extract common code between sales orders and invoices, creating 2 mixins. - Adapt tests. - Improve README with detailed explanations. - README by fragments. - Changed `settled` condition to a more suitable one, moving the condition to _skip_settlement. - Improve interface for not removing editable option in lines: you have a new icon that popups a window with agents. This icon is available according certain conditions. Check README for more details. - Add constraint for avoiding the modification of a settled commission. - Add agent values when no other value is provided. This way, we add compatibility with modules like `sale_product_set` or `sale_order_variant_mgmt`.
* Add description to all models * Adapt commission amount computation courtesy of Simone Rubi * Adapt views * Fixed dependencies in constraint
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: commission-12.0/commission-12.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_formula/ [UPD] Update sale_commission_formula.pot [UPD] README.rst
Currently translated at 95.2% (20 of 21 strings) Translation: commission-12.0/commission-12.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_formula/it/
Currently translated at 100.0% (21 of 21 strings) Translation: commission-12.0/commission-12.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_formula/zh_CN/
Currently translated at 61.9% (13 of 21 strings) Translation: commission-12.0/commission-12.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_formula/pt/
Currently translated at 100.0% (21 of 21 strings) Translation: commission-12.0/commission-12.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_formula/pt_BR/
Currently translated at 85.7% (18 of 21 strings) Translation: commission-12.0/commission-12.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-12-0/commission-12-0-sale_commission_formula/es/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: commission-13.0/commission-13.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-13-0/commission-13-0-sale_commission_formula/ Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: commission-13.0/commission-13.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-13-0/commission-13-0-sale_commission_formula/ [UPD] Update sale_commission_formula.pot
Currently translated at 100.0% (19 of 19 strings) Translation: commission-13.0/commission-13.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-13-0/commission-13-0-sale_commission_formula/es_AR/
…es not translatable - Put t-translation="off" for elements that shouldn't be translated - Define name attributes to xpath elements for better inheritance
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: commission-13.0/commission-13.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-13-0/commission-13-0-sale_commission_formula/
Currently translated at 100.0% (14 of 14 strings) Translation: commission-13.0/commission-13.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-13-0/commission-13-0-sale_commission_formula/es/
The invoice post() was done twice, which is unnecessary and with the recent upstream changes raises an exception
Currently translated at 85.7% (12 of 14 strings) Translation: commission-14.0/commission-14.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_formula/it/
Currently translated at 100.0% (14 of 14 strings) Translation: commission-14.0/commission-14.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_formula/it/
Currently translated at 100.0% (14 of 14 strings) Translation: commission-14.0/commission-14.0-sale_commission_formula Translate-URL: https://translation.odoo-community.org/projects/commission-14-0/commission-14-0-sale_commission_formula/pt_BR/
e481014
to
5476d90
Compare
bcfc1d0
to
b9242ee
Compare
This module is just merged in OCA repo and close this PR. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Depends on: #1