Overview
When you create landed costs from a foreign-currency vendor bill, standard Odoo converts the amounts with its default rate and posts them to the expense account, which can misstate your inventory valuation. This bridge module ties the AlshayebCo invoice/bill currency-rate feature to Odoo's landed cost feature so that the Create Landed Costs button converts each line using the bill's own currency at the invoice date and routes the amount to the stock valuation account. The result is landed cost records whose values match the actual money spent on the bill, keeping product costing and inventory valuation correct in multi-currency purchasing.
Key Features
- Overrides the Create Landed Costs button on vendor bills to honor the bill's currency rate.
- Converts each landed cost line with the bill currency at the invoice date for an accurate company-currency amount.
- Posts generated landed cost lines to the product's stock valuation account instead of the expense account.
- Handles vendor refunds (in_refund) by reversing the sign of the converted amount.
- Carries each product's configured split method (defaulting to equal) onto the new landed cost lines.
- Opens the newly created stock landed cost record directly in form view for immediate review.