diff --git a/base_usability/models/__init__.py b/base_usability/models/__init__.py index 3b15f76..79e7843 100644 --- a/base_usability/models/__init__.py +++ b/base_usability/models/__init__.py @@ -1,8 +1,6 @@ from . import res_users from . import res_partner from . import res_partner_bank -from . import res_partner_category from . import res_company from . import ir_mail_server -from . import ir_actions_report from . import ir_model diff --git a/base_usability/models/ir_actions_report.py b/base_usability/models/ir_actions_report.py deleted file mode 100644 index 6d5621b..0000000 --- a/base_usability/models/ir_actions_report.py +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright 2022 Akretion France (http://www.akretion.com/) -# @author: Alexis de Lattre -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import fields, models - - -class IrActionsReport(models.Model): - _inherit = "ir.actions.report" - - # since v13, print_report_name is a translatable field - # It means that you can't set the value via an inherit of - # ir.actions.report as XML - # I think it was easier when this field was not translatable - print_report_name = fields.Char(translate=False) diff --git a/base_usability/models/res_partner_category.py b/base_usability/models/res_partner_category.py deleted file mode 100644 index 966167c..0000000 --- a/base_usability/models/res_partner_category.py +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2015-2022 Akretion France (http://www.akretion.com/) -# @author: Alexis de Lattre -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import fields, models - - -class ResPartnerCategory(models.Model): - _inherit = 'res.partner.category' - - name = fields.Char(translate=False) diff --git a/product_no_translation/__init__.py b/product_no_translation/__init__.py deleted file mode 100644 index 936b9d4..0000000 --- a/product_no_translation/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Product No Translation module for Odoo -# Copyright (C) 2014 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 . -# -############################################################################## - -from . import product diff --git a/product_no_translation/__manifest__.py b/product_no_translation/__manifest__.py deleted file mode 100644 index 9bcc18a..0000000 --- a/product_no_translation/__manifest__.py +++ /dev/null @@ -1,41 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Product No Translation module for Odoo -# Copyright (C) 2014 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 . -# -############################################################################## - - -{ - 'name': 'Product no Translation', - 'version': '14.0.1.0.0', - 'category': 'Sales Management', - 'license': 'AGPL-3', - 'summary': 'For companies that work with only one language', - 'description': """ -This module sets the translatable fields of the product object (name, -descriptions) to non-translatable fields. - -This change is usefull for companies that work with only one language. -And it reduces the start time of the Point of Sale ! - """, - 'author': 'Akretion', - 'website': 'http://www.akretion.com', - 'depends': ['product'], - 'installable': False, -} diff --git a/product_no_translation/product.py b/product_no_translation/product.py deleted file mode 100644 index 30136c7..0000000 --- a/product_no_translation/product.py +++ /dev/null @@ -1,55 +0,0 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Product No Translation module for Odoo -# Copyright (C) 2014 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 . -# -############################################################################## - -from odoo import models, fields - - -class ProductTemplate(models.Model): - _inherit = "product.template" - - description_sale = fields.Text(translate=False) - description_purchase = fields.Text(translate=False) - description = fields.Text(translate=False) - name = fields.Char(translate=False) - -class ProductAttribute(models.Model): - _inherit = "product.attribute" - - name = fields.Char(translate=False) - - -class ProductAttributeValue(models.Model): - _inherit = "product.attribute.value" - - name = fields.Char(translate=False) - - -class UomCategory(models.Model): - _inherit = 'uom.category' - - name = fields.Char(translate=False) - - -class UomUom(models.Model): - _inherit = 'uom.uom' - - name = fields.Char(translate=False) diff --git a/product_no_translation/static/description/icon.png b/product_no_translation/static/description/icon.png deleted file mode 100644 index 7650d1d..0000000 Binary files a/product_no_translation/static/description/icon.png and /dev/null differ diff --git a/sales_team_usability/models/__init__.py b/sales_team_usability/models/__init__.py index cb3133d..e69de29 100644 --- a/sales_team_usability/models/__init__.py +++ b/sales_team_usability/models/__init__.py @@ -1 +0,0 @@ -from . import crm_tag diff --git a/sales_team_usability/models/crm_tag.py b/sales_team_usability/models/crm_tag.py deleted file mode 100644 index e813e51..0000000 --- a/sales_team_usability/models/crm_tag.py +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2021 Akretion France (http://www.akretion.com) -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -# @author Alexis de Lattre - -from odoo import fields, models - - -class CrmTag(models.Model): - _inherit = "crm.tag" - - name = fields.Char(translate=False) diff --git a/stock_usability/models/__init__.py b/stock_usability/models/__init__.py index 3c6fc34..04d9e97 100644 --- a/stock_usability/models/__init__.py +++ b/stock_usability/models/__init__.py @@ -1,7 +1,6 @@ from . import stock_move from . import stock_move_line from . import stock_picking -from . import stock_location_route from . import stock_warehouse_orderpoint from . import stock_quant from . import procurement_group diff --git a/stock_usability/models/stock_location_route.py b/stock_usability/models/stock_location_route.py deleted file mode 100644 index 2e0a3d3..0000000 --- a/stock_usability/models/stock_location_route.py +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2014-2022 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). - -from odoo import fields, models - - -class StockRoute(models.Model): - _inherit = 'stock.route' - - name = fields.Char(translate=False) diff --git a/stock_usability/models/stock_picking.py b/stock_usability/models/stock_picking.py index 9b0ac41..96991c7 100644 --- a/stock_usability/models/stock_picking.py +++ b/stock_usability/models/stock_picking.py @@ -24,9 +24,3 @@ class StockPicking(models.Model): for pick in self: pick.message_post(body=_("Picking unreserved.")) return res - - -class StockPickingType(models.Model): - _inherit = 'stock.picking.type' - - name = fields.Char(translate=False)