-
- Downloads
[IMP] *: compute to display full prod lot view
Before this commit, we had two form views for production lot: one more complete and one simplier. The complete one was displayed when we come from the prod lot list view, and the simplier one in any other case. But actually, we need to display the simplier one only with "Create and Edit" and display the complete one in any other case, but it's impossible to do with only two distinguish views. So, we keep only one view with all elements and we display or hide some fields or button in function of the context or if the record is new. Task #1935921
Showing
- addons/product_expiry/views/production_lot_views.xml 0 additions, 24 deletionsaddons/product_expiry/views/production_lot_views.xml
- addons/purchase_stock/views/stock_production_lot_views.xml 4 additions, 9 deletionsaddons/purchase_stock/views/stock_production_lot_views.xml
- addons/sale_stock/views/stock_production_lot_views.xml 4 additions, 9 deletionsaddons/sale_stock/views/stock_production_lot_views.xml
- addons/stock/models/stock_production_lot.py 11 additions, 0 deletionsaddons/stock/models/stock_production_lot.py
- addons/stock/views/stock_production_lot_views.xml 13 additions, 36 deletionsaddons/stock/views/stock_production_lot_views.xml
Please register or sign in to comment