[REF] stock_landed_costs: default journal id
Set a default journal on the company, use it on the landed costs form. I was not able to directly set the value on the filed with a post init hook because the stock journal is generated a while after the landed costs installation in the l10n_generic_coa module. task-59011
Showing
- addons/stock_account/__init__.py 7 additions, 7 deletionsaddons/stock_account/__init__.py
- addons/stock_landed_costs/__init__.py 2 additions, 1 deletionaddons/stock_landed_costs/__init__.py
- addons/stock_landed_costs/models/__init__.py 2 additions, 0 deletionsaddons/stock_landed_costs/models/__init__.py
- addons/stock_landed_costs/models/res_company.py 11 additions, 0 deletionsaddons/stock_landed_costs/models/res_company.py
- addons/stock_landed_costs/models/res_config_settings.py 11 additions, 0 deletionsaddons/stock_landed_costs/models/res_config_settings.py
- addons/stock_landed_costs/models/stock_landed_cost.py 15 additions, 1 deletionaddons/stock_landed_costs/models/stock_landed_cost.py
- addons/stock_landed_costs/views/res_config_settings_views.xml 6 additions, 2 deletions...ns/stock_landed_costs/views/res_config_settings_views.xml
Loading
Please register or sign in to comment