Skip to content

Conversation

@IsabelAForgeFlow
Copy link

@IsabelAForgeFlow IsabelAForgeFlow commented Mar 13, 2025

Migration to 18.0

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.

Functional review. It works as expected. Just some minor comments.

<field name="type">ir.actions.act_window</field>
<field name="res_model">product.discrepancy</field>
<field name="view_mode">tree</field>
<field name="domain">[('id', '=', -1)]</field>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be removed. Ir was probably added by mistake in the previous version.

]
if not valuation_account:
raise UserError(
_("Product %s doesn't have stock valuation account assigned")
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
_("Product %s doesn't have stock valuation account assigned")
self.env._("Product %s doesn't have stock valuation account assigned")

<field name="account_qty_at_date" />
<field name="valuation_discrepancy" />
<field name="qty_discrepancy" />
<field name="to_date_valuation" invisible="1" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this can be removed. It is not used.

<form string="wizard_stock_discrepancy_adjustment_form">
<sheet>
<group>
<field name="company_id" invisible="1" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I think can be removed as well.

@IsabelAForgeFlow IsabelAForgeFlow force-pushed the 18.0-mig-stock_account_valuation_discrepancy_adjust branch from e59f5d4 to 399d539 Compare March 14, 2025 14:14
@AaronHForgeFlow
Copy link
Contributor

@IsabelAForgeFlow the dependency is merged 🎉 can you please rebase?

ChrisOForgeFlow and others added 11 commits April 3, 2025 16:58
…ds from the wizard as long they are slow computed an unnecessary to take a decision
Currently translated at 100.0% (31 of 31 strings)

Translation: stock-logistics-reporting-16.0/stock-logistics-reporting-16.0-stock_account_valuation_discrepancy_adjust
Translate-URL: https://translation.odoo-community.org/projects/stock-logistics-reporting-16-0/stock-logistics-reporting-16-0-stock_account_valuation_discrepancy_adjust/it/
- Factor out move data preparation into separate methods
- Split debit/credit line preparation into dedicated methods
- Fix mismatch between company_id on default journal and company_id on record
- Allow differentiating user set defaults by company
- Fix strange decimal precision choices
@IsabelAForgeFlow IsabelAForgeFlow force-pushed the 18.0-mig-stock_account_valuation_discrepancy_adjust branch from 399d539 to e8dff77 Compare April 3, 2025 15:02
[MIG] stock_account_valuation_discrepancy_adjust: Migration to 18.0

[MIG] stock_account_valuation_discrepancy_adjust: Migration to 18.0
@IsabelAForgeFlow IsabelAForgeFlow force-pushed the 18.0-mig-stock_account_valuation_discrepancy_adjust branch from e8dff77 to b62157b Compare April 3, 2025 15:11
@IsabelAForgeFlow
Copy link
Author

@IsabelAForgeFlow the dependency is merged 🎉 can you please rebase?

Done!

@github-actions
Copy link

github-actions bot commented Aug 3, 2025

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 3, 2025
Copy link
Contributor

@BhaveshHeliconia BhaveshHeliconia left a comment

Choose a reason for hiding this comment

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

Functional review LGTM

@AaronHForgeFlow
Copy link
Contributor

Ready to merge! 🚀

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Aug 10, 2025
Copy link

@len-foss len-foss left a comment

Choose a reason for hiding this comment

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

LGTM

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.

7 participants