[18.0][MIG] stock_account_valuation_discrepancy_adjust#400
[18.0][MIG] stock_account_valuation_discrepancy_adjust#400IsabelAForgeFlow wants to merge 12 commits intoOCA:18.0from
Conversation
AaronHForgeFlow
left a comment
There was a problem hiding this comment.
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.
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.
| _("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.
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.
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.
Functional review LGTM
|
Ready to merge! 🚀 |
|
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. |
Migration to 18.0