-
- Downloads
[REF] stock_landed_costs: create from vendor bill
Add a many2one on the landed cost to the vendor bill. Allow to create a landed cost from a vendor bill if the product is a service. It will use the price_subtotal of the account move line. Add a is_landed_costs_line to separate products of landed costs on the account move line. It's a checkbox. Ticking the checkbox will change the account of the account move if the company is in anglo saxon accounting. Tweak the accounts used by the landed costs so that everything is well balanced (see the added tests). Auto reconcile AML when possible. task-59011
Showing
- addons/stock_account/tests/test_stockvaluation.py 39 additions, 26 deletionsaddons/stock_account/tests/test_stockvaluation.py
- addons/stock_account/tests/test_stockvaluationlayer.py 24 additions, 2 deletionsaddons/stock_account/tests/test_stockvaluationlayer.py
- addons/stock_landed_costs/__manifest__.py 1 addition, 0 deletionsaddons/stock_landed_costs/__manifest__.py
- addons/stock_landed_costs/models/__init__.py 1 addition, 0 deletionsaddons/stock_landed_costs/models/__init__.py
- addons/stock_landed_costs/models/account_move.py 75 additions, 0 deletionsaddons/stock_landed_costs/models/account_move.py
- addons/stock_landed_costs/models/stock_landed_cost.py 13 additions, 4 deletionsaddons/stock_landed_costs/models/stock_landed_cost.py
- addons/stock_landed_costs/tests/test_stockvaluationlayer.py 232 additions, 3 deletionsaddons/stock_landed_costs/tests/test_stockvaluationlayer.py
- addons/stock_landed_costs/views/account_move_views.xml 33 additions, 0 deletionsaddons/stock_landed_costs/views/account_move_views.xml
- addons/stock_landed_costs/views/stock_landed_cost_views.xml 17 additions, 0 deletionsaddons/stock_landed_costs/views/stock_landed_cost_views.xml
Loading
Please register or sign in to comment