[MIG] base_company_extension, eradicate_quick_create, mail_usability_akretion, base_profile_akretion to v18
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
|
||||
{
|
||||
'name': 'Base Company Extension',
|
||||
'version': '16.0.1.0.0',
|
||||
'version': '18.0.1.0.0',
|
||||
'category': 'Partner',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Adds capital and title on company',
|
||||
'author': 'Akretion',
|
||||
'website': 'https://github.com/akretion/odoo-usability',
|
||||
# I depend on base_usability only for _report_company_legal_name()
|
||||
'depends': ['base_usability'],
|
||||
'depends': ['base_usability_akretion'],
|
||||
'data': ['views/res_company.xml'],
|
||||
'installable': False,
|
||||
'installable': True,
|
||||
}
|
||||
|
||||
0
base_profile_akretion/__init__.py
Normal file
0
base_profile_akretion/__init__.py
Normal file
42
base_profile_akretion/__manifest__.py
Normal file
42
base_profile_akretion/__manifest__.py
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2025 Akretion France (https://www.akretion.com)
|
||||
# @author Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
'name': 'Base Profile by Akretion',
|
||||
'version': '18.0.1.0.0',
|
||||
'category': 'Tools',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Base module set selected by Alexis de Lattre',
|
||||
'author': 'Akretion',
|
||||
'website': 'https://github.com/akretion/odoo-usability',
|
||||
'depends': [
|
||||
# PARTNER
|
||||
'partner_firstname', # OCA/partner-contact
|
||||
'partner_email_duplicate_warn', # OCA/partner-contact
|
||||
'partner_mobile_duplicate_warn', # OCA/partner-contact
|
||||
'contacts', # official addons
|
||||
# AUTH
|
||||
'auth_admin_passkey', # OCA/server-auth
|
||||
# REMOVE or FIX BAD NATIVE STUFF
|
||||
'disable_odoo_online', # OCA/server-brand
|
||||
'remove_odoo_enterprise', # OCA/server-brand
|
||||
'partner_disable_gravatar', # OCA/partner-contact
|
||||
'base_technical_features', # OCA/server-ux
|
||||
### WEB
|
||||
'web_responsive', # OCA/web
|
||||
'web_environment_ribbon', # OCA/web
|
||||
'web_no_bubble', # OCA/web
|
||||
'web_dialog_size', # OCA/web
|
||||
'web_chatter_position', # OCA/web
|
||||
### MISC
|
||||
'base_usability_akretion', # akretion/odoo-usability
|
||||
'mail_usability_akretion', # akretion/odoo-usability
|
||||
'eradicate_quick_create', # akretion/odoo-usability
|
||||
'base_company_extension', # akretion/odoo-usability
|
||||
# password_security will be enabled when the move to ir.config_parameter
|
||||
# will be backported
|
||||
#'password_security', # OCA/server-auth
|
||||
],
|
||||
'installable': True,
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
{
|
||||
'name': 'Eradicate Quick Create',
|
||||
'version': '16.0.1.0.0',
|
||||
'version': '18.0.1.0.0',
|
||||
'category': 'Tools',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Disable quick create on all objects',
|
||||
@@ -18,8 +18,8 @@ This module uses the module *web_m2x_options* from the OCA *web* project (in v10
|
||||
This module has been written by Alexis de Lattre from Akretion <alexis.delattre@akretion.com>.
|
||||
""",
|
||||
'author': 'Akretion',
|
||||
'website': 'http://www.akretion.com',
|
||||
'website': 'https://github.com/akretion/odoo-usability',
|
||||
'depends': ['web_m2x_options'],
|
||||
'post_init_hook': 'web_m2x_options_create',
|
||||
'installable': False,
|
||||
'installable': True,
|
||||
}
|
||||
|
||||
@@ -2,12 +2,8 @@
|
||||
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import SUPERUSER_ID
|
||||
from odoo.api import Environment
|
||||
|
||||
|
||||
def web_m2x_options_create(cr, registry):
|
||||
env = Environment(cr, SUPERUSER_ID, {})
|
||||
def web_m2x_options_create(env):
|
||||
config_parameter = env['ir.config_parameter'].search(
|
||||
[('key', '=', 'web_m2x_options.create')])
|
||||
if config_parameter and config_parameter.value != 'False':
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Mail Usability',
|
||||
'version': '16.0.1.0.0',
|
||||
'version': '18.0.1.0.0',
|
||||
'category': 'Productivity/Discuss',
|
||||
'license': 'AGPL-3',
|
||||
'summary': 'Usability improvements on mails',
|
||||
@@ -20,13 +20,8 @@ Small usability improvements on mails:
|
||||
* remove 'sent by' in notification footer (TODO mig v14)
|
||||
""",
|
||||
'author': 'Akretion',
|
||||
'website': 'http://www.akretion.com',
|
||||
'website': 'https://github.com/akretion/odoo-usability',
|
||||
'depends': ['mail'],
|
||||
'data': [
|
||||
#'views/mail_view.xml',
|
||||
#'data/mail_data.xml',
|
||||
#'wizard/email_template_preview_view.xml',
|
||||
#'wizard/mail_compose_message_view.xml',
|
||||
],
|
||||
'installable': False,
|
||||
'data': [],
|
||||
'installable': True,
|
||||
}
|
||||
|
||||
@@ -9,8 +9,7 @@ class ResPartner(models.Model):
|
||||
_inherit = 'res.partner'
|
||||
|
||||
# tracking=True is handled in the 'mail' module, so it's better
|
||||
# to have this in mail_usability than in base_usability
|
||||
name = fields.Char(tracking=True)
|
||||
# to have this in mail_usability than in base_usability_akretion
|
||||
ref = fields.Char(tracking=True)
|
||||
lang = fields.Selection(tracking=True)
|
||||
street = fields.Char(tracking=True)
|
||||
|
||||
Reference in New Issue
Block a user