From f648ab94eb6c55ae17ebdbc37f23f5faa39fddaf Mon Sep 17 00:00:00 2001
From: rso-odoo
Date: Wed, 22 Jan 2020 13:09:49 +0000
Subject: [PATCH] [IMP] stock, stock_account: locations views and filters
- add a filter "production locations" on stock location
- add an action returning the production stock locations
- display a link to this action in the product category views in stock
account so users can easily set the correct accounts on these
locations
- set valuation journal an account before the others in the product
category form
Task-2161057
closes odoo/odoo#43762
Signed-off-by: Simon Lejeune (sle)
---
addons/stock/views/stock_location_views.xml | 11 +++++++++++
addons/stock_account/views/product_views.xml | 7 +++++--
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/addons/stock/views/stock_location_views.xml b/addons/stock/views/stock_location_views.xml
index 6cb37b9a7e7..815aa7588a5 100644
--- a/addons/stock/views/stock_location_views.xml
+++ b/addons/stock/views/stock_location_views.xml
@@ -68,6 +68,7 @@
+
@@ -129,6 +130,16 @@