Skip to content

Commit

Permalink
[4936][FIX] inventory_reporting: depends on stock_move_actual_date (#100
Browse files Browse the repository at this point in the history
)

* [FIX] inventory_reporting: depends on stock_move_actual_date
  • Loading branch information
AungKoKoLin1997 authored Nov 6, 2024
1 parent 09dec36 commit 89aa59b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions inventory_reporting/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"product_last_purchase_date",
"report_xlsx",
"stock_analytic",
"stock_move_actual_date", # actual_date
"stock_valuation_layer_accounting_date",
"web_ir_actions_act_multi",
],
Expand Down
2 changes: 1 addition & 1 deletion inventory_reporting/reports/inventory_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ def generate_consumable_report(self, workbook, wizard):
# Write the data to the worksheet
for row, valuation in enumerate(valuations, start=1):
accounting_date = fields.Date.from_string(
valuation.stock_move_id.accounting_date
valuation.stock_move_id.actual_date
)
ws.write(row, 0, valuation.reference)
ws.write(row, 1, valuation.stock_move_id.origin)
Expand Down
1 change: 1 addition & 0 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/purchase_order_owne
git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/purchase_reception_status
git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/report_csv
git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/stock_picking_accounting_date
git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/stock_move_actual_date
git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/stock_picking_auto_create_lot
git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/stock_valuation_layer_accounting_date
git+https://github.com/qrtl/axls-oca@16.0#subdirectory=setup/web_ir_actions_act_multi
Expand Down

0 comments on commit 89aa59b

Please sign in to comment.