Skip to content

Commit

Permalink
Fix formatting issues in stock move logic and product view XML
Browse files Browse the repository at this point in the history
Removed unnecessary blank lines in the stock move model and adjusted field indentation in the product view XML to improve readability and maintain consistency. No functional changes were introduced with these updates.
  • Loading branch information
dhongu committed Jan 31, 2025
1 parent 168d1ea commit caeea1d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion deltatech_stock_inventory/views/product_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
groups="stock.group_stock_multi_warehouses"
invisible="context.get('warehouse')"
>
<field name="warehouse_loc_ids" nolabel="1" colspan="2">
<field name="warehouse_loc_ids" nolabel="1" colspan="2">
<list editable="bottom">
<field name="warehouse_id" />
<field name="loc_rack" />
Expand Down
2 changes: 0 additions & 2 deletions deltatech_stock_valuation/models/stock_move.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ def _prepare_account_move_line(self, qty, cost, credit_account_id, debit_account
if valuation_area:
line[2].update({"valuation_area_id": valuation_area.id})
return res


0 comments on commit caeea1d

Please sign in to comment.