[ADD] account_invoicing: Hide account menuitems if only website_sale installed
Purpose ======= Ease payment setup & flow of ecommerce In Odoo, we have 3 ways to sell: sales -> invoice is needed when you issue quotations eCommerce -> invoice is mostly for B2B but is part of the flow in any case PoS -> invoice is mostly for B2B. It's an option -> make invoicing an option in ecommerce (still working but unvisible) Specification ============= Hide the menuitems of account, and add a module account_invoicing that will display them.
@@ -6,11 +6,7 @@
|
||||
'summary': 'Send Invoices and Track Payments',
|
||||
'sequence': 30,
|
||||
'description': """
|
||||
Invoicing & Payments
|
||||
====================
|
||||
The specific and easy-to-use Invoicing system in Odoo allows you to keep track of your accounting, even when you are not an accountant. It provides an easy way to follow up on your vendors and customers.
|
||||
|
||||
You could use this simplified accounting in case you work with an (external) account to keep your books, and you still want to keep track of payments. This module also offers you an easy method of registering payments, without having to encode complete abstracts of account.
|
||||
Core mechanisms for the accounting modules. To display the menuitems, install the module account_invoicing.
|
||||
""",
|
||||
'category': 'Accounting',
|
||||
'website': 'https://www.odoo.com/page/billing',
|
||||
@@ -75,7 +71,7 @@ You could use this simplified accounting in case you work with an (external) acc
|
||||
"static/src/xml/account_report_backend.xml",
|
||||
],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
'application': False,
|
||||
'auto_install': False,
|
||||
'post_init_hook': '_auto_install_l10n',
|
||||
}
|
||||
|
||||
@@ -6,9 +6,13 @@
|
||||
<menuitem name="Invoicing"
|
||||
id="menu_finance"
|
||||
groups="group_account_user,group_account_manager,group_account_invoice"
|
||||
web_icon="account,static/description/icon.png"
|
||||
web_icon="account_invoicing,static/description/icon.png"
|
||||
sequence="40"/>
|
||||
|
||||
<record id="menu_finance" model="ir.ui.menu">
|
||||
<field name="active" eval="False"/>
|
||||
</record>
|
||||
|
||||
<menuitem id="menu_finance_receivables" name="Sales" parent="menu_finance" sequence="2"/>
|
||||
<menuitem id="menu_finance_payables" name="Purchases" parent="menu_finance" sequence="3"/>
|
||||
<menuitem id="menu_finance_entries" name="Adviser" parent="menu_finance" sequence="4" groups="group_account_manager"/>
|
||||
|
||||
@@ -14,7 +14,7 @@ It gives the Administrator user access to all accounting features such as journa
|
||||
It assigns manager and user access rights to the Administrator for the accounting application and only user rights to the Demo user.
|
||||
""",
|
||||
'website': 'https://www.odoo.com/page/accounting',
|
||||
'depends': ['account', 'web_tour'],
|
||||
'depends': ['account_invoicing', 'web_tour'],
|
||||
'data': [
|
||||
'data/account_accountant_data.xml',
|
||||
'security/account_accountant_security.xml',
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<!-- Rename root menu "Accounting" -->
|
||||
<!-- Top menu item -->
|
||||
<menuitem name="Accounting"
|
||||
web_icon="account,static/description/icon.png"
|
||||
web_icon="account_accountant,static/description/icon.png"
|
||||
id="account.menu_finance"
|
||||
sequence="40"/>
|
||||
<menuitem id="account.menu_account_config" name="Settings" parent="account.menu_finance_configuration" sequence="0" groups="base.group_system"/>
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
@@ -0,0 +1,27 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
{
|
||||
'name': 'Invoicing Management',
|
||||
'version': '1.0',
|
||||
'summary': 'Send Invoices and Track Payments',
|
||||
'sequence': 30,
|
||||
'description': """
|
||||
Invoicing & Payments
|
||||
====================
|
||||
The specific and easy-to-use Invoicing system in Odoo allows you to keep track of your accounting, even when you are not an accountant. It provides an easy way to follow up on your vendors and customers.
|
||||
|
||||
You could use this simplified accounting in case you work with an (external) account to keep your books, and you still want to keep track of payments. This module also offers you an easy method of registering payments, without having to encode complete abstracts of account.
|
||||
""",
|
||||
'category': 'Invoicing Management',
|
||||
'website': 'https://www.odoo.com/page/billing',
|
||||
'depends': ['account'],
|
||||
'data': [
|
||||
'views/account_menuitem_views.xml',
|
||||
],
|
||||
'demo': [
|
||||
],
|
||||
'qweb': [
|
||||
],
|
||||
'application': True,
|
||||
}
|
||||
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 67 KiB |
|
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<record id="account.menu_finance" model="ir.ui.menu">
|
||||
<field name="active" eval="True"/>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -41,7 +41,7 @@ The Dashboard for the Sales Manager will include
|
||||
* Monthly Turnover (Graph)
|
||||
""",
|
||||
'website': 'https://www.odoo.com/page/sales',
|
||||
'depends': ['sale'],
|
||||
'depends': ['sale', 'account_invoicing'],
|
||||
'data': [
|
||||
'views/sale_management_views.xml',
|
||||
'views/sale_management_templates.xml',
|
||||
|
||||