Skip to content
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

[MIG] stock_custom_exchange_rate_date: Migration to 17.0 T#86792 #1687

Merged
merged 5 commits into from
Jan 6, 2025

Conversation

xmglord
Copy link
Contributor

@xmglord xmglord commented Jan 3, 2025

The following actions were performed:

  • Update language file.
  • Migrate stock.move.line according to 1.
  • Migrate attrs in views according to 2.
  • Improve code by using new native methods.

luisg123v and others added 4 commits January 3, 2025 15:26
This module allows to set a customized date on transfers to be used when
computing product unit prices, instead of the date when the transfer  is
validated, in case exchange rates are involved.

The use for the above is that created journal entries take the newly
computed unit price, which makes the inventory to be valuated using the
specified rate.
This runs the translations autoformatter [1], which performs the
following changes over .po files:
- Sort terms alphabetically
- Split lines to 78 characters
- clear message when translated term is the same as original one

This is done to produce a file as if it were re-exported from Odoo. For
more info, see [2].

[1] OCA/odoo-pre-commit-hooks#76
[2] Vauxoo/pre-commit-vauxoo#104
@xmglord
Copy link
Contributor Author

xmglord commented Jan 3, 2025

@hugho-ad please review.

cc: @isaako34 @CLaurelB

@luisg123v luisg123v self-requested a review January 3, 2025 19:46
The following actions were performed:

- Update language file.
- Migrate stock.move.line according to [1].
- Migrate attrs in views according to [2].
- Improve code by using new native methods.

[1]: odoo/odoo@7dda6bb9
[2]: odoo/odoo#104741
@xmglord xmglord force-pushed the 17.0-mig_stock_custom-xmglord branch from 658e494 to 7dbede1 Compare January 6, 2025 19:14
@xmglord xmglord requested a review from luisg123v January 6, 2025 19:14
Copy link
Contributor

@luisg123v luisg123v left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@luisg123v luisg123v merged commit fbee30a into Vauxoo:17.0 Jan 6, 2025
3 checks passed
@luisg123v luisg123v deleted the 17.0-mig_stock_custom-xmglord branch January 6, 2025 22:11
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.

3 participants