Purpose: Having the res_group defined in base and sales_team auto installed with mail doens't make sense. - Move the empty res_config class and the related view from base_setup to sales_team (base_setup only contains the 'General Settings' model and views - Move the 'sale' related content from product to sale module (Access rights, menuitems,...) - Set sales_team at autoinstall False. The module is installed when needed by crm or sale for example - Set sales_team as a dependency of voip. (Access rights defined for configuration purpose) - Set sales_team ad a dependency of subscription (Access rights issue too) [FIX] account: move some ir.model.access to sale module [FIX] payment: Move some ir.rule to website_sale [FIX] stock: move some ir.model.access rule to sale_stock [FIX] project: Move some ir.model.access rules to crm_project_issue [FIX] mrp: Move some ir.model.access rules to sale_mrp [FIX] calendar: move some ir.model.access rules to crm Rename xmlids accordingly. Example: 'base.group_sale_manager' becomes sales_team.group_sale_manager. [ADD] sales_team: See own documents => See only his sales team Moved the "User: Own Leads Only", "User: All Leads" and "Manager" groups from sale and crm into sales_team module. Add the record rules so that user can see only his Own Sales Team if "See Own Leads" is sales right and can see all sales teams if he is having sales rights of "See All Leads" or manager.
27 lines
848 B
Python
27 lines
848 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
|
|
{
|
|
'name': 'Recurring Documents',
|
|
'category': 'Tools',
|
|
'description': """
|
|
Create recurring documents.
|
|
===========================
|
|
|
|
This module allows to create new documents and add subscriptions on that document.
|
|
|
|
e.g. To have an invoice generated automatically periodically:
|
|
-------------------------------------------------------------
|
|
* Define a document type based on Invoice object
|
|
* Define a subscription whose source document is the document defined as
|
|
above. Specify the interval information and partner to be invoiced.
|
|
""",
|
|
'depends': ['base', 'sales_team'],
|
|
'data': [
|
|
'security/ir.model.access.csv',
|
|
'views/subscription_view.xml'
|
|
],
|
|
'demo': ['data/subscription_demo.xml'],
|
|
}
|