[FIX] stock_landed_costs: apply correct accout on vendor bill
Steps to reproduce:
-> Install Stock+Accounting+Purchase
-> Enable landed costs on setting
-> Anglo-Saxon accounting Active
-> Create a service-type product with active landed cost.
-> Product category: ( Standard/FIFO/Average - Automated )
-> Confirm a PO with that product
-> Create a vendor bill
Bug:
default accout for the landed cost is (600000 Expenses)
Fix:
apply the correct account (set on product category) when creating
the invoice lines
opw-3129528
closes odoo/odoo#114449
Signed-off-by:
William Henrotin (whe) <whe@odoo.com>
Loading