-
-
Notifications
You must be signed in to change notification settings - Fork 272
[18.0][MIG] stock_account_valuation_discrepancy_adjust #400
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
base: 18.0
Are you sure you want to change the base?
[18.0][MIG] stock_account_valuation_discrepancy_adjust #400
Conversation
AaronHForgeFlow
left a comment
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. 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> |
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 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") |
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.
| _("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" /> |
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 think this can be removed. It is not used.
| <form string="wizard_stock_discrepancy_adjustment_form"> | ||
| <sheet> | ||
| <group> | ||
| <field name="company_id" invisible="1" /> |
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 think can be removed as well.
e59f5d4 to
399d539
Compare
|
@IsabelAForgeFlow the dependency is merged 🎉 can you please rebase? |
…eate single journal entry
…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
399d539 to
e8dff77
Compare
[MIG] stock_account_valuation_discrepancy_adjust: Migration to 18.0 [MIG] stock_account_valuation_discrepancy_adjust: Migration to 18.0
e8dff77 to
b62157b
Compare
Done! |
|
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. |
BhaveshHeliconia
left a comment
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 LGTM
|
Ready to merge! 🚀 |
len-foss
left a comment
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.
LGTM
Migration to 18.0