[REM] l10n_fr_sale_closing: This module is squashed into l10n_fr.

Task ID: 2039160
This commit is contained in:
Laurent Smet
2019-09-25 11:26:02 +00:00
committed by Florian Gilbert
parent 429263af7d
commit 7aa90628ac
12 changed files with 3 additions and 50 deletions
@@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_l10n_fr_account_sale_closing_user,l10n_fr.account.sale.closing.user,l10n_fr.model_account_sale_closing,base.group_user,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_l10n_fr_account_sale_closing_user l10n_fr.account.sale.closing.user l10n_fr.model_account_sale_closing base.group_user 1 0 0 0
+1 -1
View File
@@ -21,7 +21,7 @@ The module adds following features:
Access to download the mandatory Certificate of Conformity delivered by Odoo SA (only for Odoo Enterprise users)
""",
'depends': ['l10n_fr_sale_closing', 'point_of_sale'],
'depends': ['l10n_fr', 'point_of_sale'],
'installable': True,
'auto_install': True,
'application': False,
-15
View File
@@ -1,15 +0,0 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import models
from odoo import api, SUPERUSER_ID
def _setup_inalterability(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
# enable ping for this module
env['publisher_warranty.contract'].update_notification(cron_mode=True)
fr_companies = env['res.company'].search([('partner_id.country_id.code', 'in', env['res.company']._get_unalterable_country())])
for fr_company in fr_companies:
fr_journals = env['account.journal'].search([('company_id', '=', fr_company.id)])
fr_journals.filtered(lambda x: not x.secure_sequence_id)._create_secure_sequence(['l10n_fr_closing_sequence_id'])
@@ -1,28 +0,0 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
{
'name': 'France - VAT Anti-Fraud Certification (CGI 286 I-3 bis) - Sale Closings',
'version': '1.0',
'category': 'Accounting',
'description': """
This module adds support for automatic sales closings with computation of both period and cumulative totals (daily, monthly, annually)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The module adds following features:
Storage: automatic sales closings with computation of both period and cumulative totals (daily, monthly, annually)
""",
'depends': ['l10n_fr'],
'installable': True,
'auto_install': True,
'application': False,
'data': [
'views/account_sale_closure.xml',
'data/account_sale_closure_cron.xml',
'security/ir.model.access.csv',
'security/account_closing_intercompany.xml',
],
'post_init_hook': '_setup_inalterability',
}
@@ -1,4 +0,0 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import res_company
from . import account_closing
@@ -1,2 +0,0 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_l10n_fr_sale_closing_account_sale_closing_user,l10n_fr_sale_closing.account.sale.closing.user,l10n_fr_sale_closing.model_account_sale_closing,base.group_user,1,0,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_l10n_fr_sale_closing_account_sale_closing_user l10n_fr_sale_closing.account.sale.closing.user l10n_fr_sale_closing.model_account_sale_closing base.group_user 1 0 0 0
Binary file not shown.

Before

Width:  |  Height:  |  Size: 562 B