From 1a46f397055d93dff58b998a9d2a5a860370a597 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 +++++++++++++++++++--------- pos_usability/__manifest__.py | 29 +++--------------- pos_usability/pos_view.xml | 58 +++++++++++++++++++++++++---------- 5 files changed, 95 insertions(+), 100 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 + + + + + + + + + + diff --git a/pos_usability/__manifest__.py b/pos_usability/__manifest__.py index 3cfabdc..c49e067 100644 --- a/pos_usability/__manifest__.py +++ b/pos_usability/__manifest__.py @@ -1,25 +1,6 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# POS Usability module for Odoo -# Copyright (C) 2014-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 . -# -############################################################################## - +# © 2014-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Point of Sale Usability', @@ -31,9 +12,7 @@ Point of Sale Usability ======================= -Small usability enhancements in POS: - -* Add a filter *Available in POS* in Product search view +Minor usability enhancements in POS: This module has been written by Alexis de Lattre from Akretion . """, @@ -41,5 +20,5 @@ This module has been written by Alexis de Lattre from Akretion - - + - - pos_usability.product.template.search - product.template - - - - - + + usability.pos.config.tree + pos.config + + + + + - - + + usability.pos.session.form + pos.session + + + + Total Transactions + + + Total Balance Finale + + + + + + + usability.pos.product.template + product.template + + + + +
+ +
+
+
+
+ +