Skip to content

Conversation

@JasminSForgeFlow
Copy link
Contributor

Standard Migration

  • Adapt new stock valuation changes

@ForgeFlow

@AaronHForgeFlow
Copy link
Contributor

Dependency is merged. Can you rebase? Thanks.

JordiBForgeFlow and others added 28 commits December 19, 2025 06:41
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/
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/
weblate and others added 20 commits December 19, 2025 06:41
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/
…try lines on revaluations

Up to now, stock entries were considered in the revaluation process as they were stored on field invoice_lines. To avoid that we introduced a dedicated field to manage stock entries and avoid taking them into account in the revaluation odoo core process.
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-18.0/account-financial-tools-18.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-18-0/account-financial-tools-18-0-account_move_line_purchase_info/
Currently translated at 100.0% (9 of 9 strings)

Translation: account-financial-tools-18.0/account-financial-tools-18.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-18-0/account-financial-tools-18-0-account_move_line_purchase_info/it/
Currently translated at 100.0% (9 of 9 strings)

Translation: account-financial-tools-18.0/account-financial-tools-18.0-account_move_line_purchase_info
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-18-0/account-financial-tools-18-0-account_move_line_purchase_info/tr/
@JasminSForgeFlow JasminSForgeFlow force-pushed the 19.0-mig-account_move_line_purchase_info branch 3 times, most recently from a0a52ca to 98d7870 Compare December 22, 2025 05:03

- When a supplier invoice is created referencing purchase orders, the
purchase order line will be copied to the corresponding journal item.
- When a stock move is validated and generates a journal entry, the
Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow Dec 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this statement? it is not True in this version.

Also please mention in another paragraph how the changes in standard Odoo valuation affect the this module. Thanks.

You can say that since stock interim accounts are not used in v19 there is no need to add the PO info to the journal items, because there are no journal items.

Copy link
Contributor

@AaronHForgeFlow AaronHForgeFlow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking into more detail I think this module will be very simple in v19, just keeping the views so users can see the PO info when looking to journal items. Also keeping the _compute_display_name logic.

Anything else is not necessary I think.

@JasminSForgeFlow JasminSForgeFlow force-pushed the 19.0-mig-account_move_line_purchase_info branch from 98d7870 to e62eb59 Compare December 23, 2025 06:09
@JasminSForgeFlow
Copy link
Contributor Author

@AaronHForgeFlow, I have attended all comments.
Please review again.
Thanks

@JasminSForgeFlow JasminSForgeFlow force-pushed the 19.0-mig-account_move_line_purchase_info branch from e62eb59 to 9eaadf9 Compare December 23, 2025 06:11
@AaronHForgeFlow
Copy link
Contributor

Thank you @JasminSForgeFlow Can you please mention in the readme and in the description of the PR that there is a big refactor due to the changes in Odoo standard stock valuation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.