From 55b9b1a6195b0050501d76341b43d73383c9071d Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Tue, 25 Oct 2016 12:42:05 +0200 Subject: [PATCH] Port mrp_usability and pos_usability to v10 --- mrp_usability/__manifest__.py | 33 ++++++++---------------- mrp_usability/mrp.py | 28 +++++---------------- mrp_usability/mrp_view.xml | 47 ++++++++++++++++++++++++----------- 3 files changed, 49 insertions(+), 59 deletions(-) diff --git a/mrp_usability/__manifest__.py b/mrp_usability/__manifest__.py index 7d84fc8..2d42352 100644 --- a/mrp_usability/__manifest__.py +++ b/mrp_usability/__manifest__.py @@ -1,24 +1,7 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# MRP Usability module for Odoo -# Copyright (C) 2015 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# -*- coding: utf-8 -*- +# © 2015-2016 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { @@ -35,7 +18,11 @@ Small usability improvements on MRP: * order by id desc -* show date start and date finished on production order form view +* show field date_start and date_finished on mrp.production form view + +* show more fields on stock move form + +* show bom type in tree view + add group by This module has been written by Alexis de Lattre from Akretion . """, @@ -43,5 +30,5 @@ This module has been written by Alexis de Lattre from Akretion -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# -*- coding: utf-8 -*- +# © 2015-2016 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import models + +from odoo import models class MrpProduction(models.Model): diff --git a/mrp_usability/mrp_view.xml b/mrp_usability/mrp_view.xml index 083c4e4..1763338 100644 --- a/mrp_usability/mrp_view.xml +++ b/mrp_usability/mrp_view.xml @@ -1,30 +1,27 @@ - - + + usability.mrp.production.form mrp.production - - 0 - - - 0 + + + - - stock.usability.stock.move.form + mrp.usability.stock.move.form stock.move @@ -35,5 +32,27 @@ - - + + mrp_usability.bom.tree + mrp.bom + + + + + + + + + + mrp_usability.bom.search + mrp.bom + + + + + + + + + +