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

Syncing from upstream Vauxoo/addons-vauxoo (17.0) #344

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

bt-admin
Copy link

@bt-admin bt-admin commented Jan 7, 2025

bt_gitbot

luisg123v and others added 6 commits January 6, 2025 16:11
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
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
… default journal set

Use the cached value of the Sales Team field to access its value as a
record. This avoids computing its value when it has not been computed
yet, which could result in setting the wrong Sales Team on an invoice
form creation. This issue occurs because the company is not yet set, and
its value is required to determine the correct Sales Team [1].

[1]: https://github.com/odoo/odoo/blob/3884a60e/addons/sale/models/account_move.py#L41
@bt-admin bt-admin added the 17.0 label Jan 7, 2025
@bt-admin bt-admin merged commit 7ba640a into brain-tec:17.0 Jan 7, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants