-
-
Notifications
You must be signed in to change notification settings - Fork 779
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
[18.0][MIG] account_move_line_purchase_info: Migration to 18.0 #2029
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] account_move_line_purchase_info: Migration to 18.0 #2029
Conversation
Currently translated at 100,0% (5 of 5 strings) Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_move_line_purchase_info/de/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/
Currently translated at 100.0% (5 of 5 strings) Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/pt_BR/
To force wheel regeneration, because the currently published wheel wrongly depends on odoo12-addon-purchase_stock which is a standard Odoo module.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/
Currently translated at 100.0% (5 of 5 strings) Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/pt/
Currently translated at 100.0% (6 of 6 strings) Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_move_line_purchase_info/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_move_line_purchase_info/
…ensure invoice count consistency
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-13.0/account-financial-tools-13.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-13-0/account-financial-tools-13-0-account_move_line_purchase_info/
Currently translated at 100.0% (7 of 7 strings) Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/es/
Currently translated at 100.0% (7 of 7 strings) Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/hr/
Currently translated at 100.0% (7 of 7 strings) Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/pt_BR/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/
Currently translated at 100.0% (7 of 7 strings) Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/pt_BR/
Currently translated at 100.0% (7 of 7 strings) Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/it/
Currently translated at 100.0% (7 of 7 strings) Translation: account-financial-tools-16.0/account-financial-tools-16.0-account_move_line_purchase_info Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_move_line_purchase_info/sv/
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.
Functional and code review! 👍
class PurchaseOrderLine(models.Model): | ||
_inherit = "purchase.order.line" | ||
|
||
def name_get(self): |
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.
No. Please cherry-pick #2030.
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.
I have done the cherry-pick of your fix. Thanks for reviewing it :)
9262d89
to
808b53c
Compare
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.
Functional review LG. Just pending to fix some minor lint issues:
account_move_line_purchase_info/tests/test_account_move_line_purchase_info.py:216:89: E501 Line too long (91 > 88)
|
214 | (
215 | po_line.id,
216 | f"[{po_line.order_id.name}] {po_line.name} ({po_line.order_id.state})",
| ^^^ E[50](https://github.com/OCA/account-financial-tools/actions/runs/13374064708/job/37351740605?pr=2029#step:7:51)1
217 | )
218 | ],
|
Found 1 error.
808b53c
to
c324ec3
Compare
This PR has the |
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.
Functional 👍
It seems there is still a pre-commit issue |
Use _compute_display_name instead.
c324ec3
to
3278c2a
Compare
Migration to 18.0