added report_url module

This commit is contained in:
Yhael S
2023-08-29 01:57:11 -05:00
parent b4d245618b
commit e3da8ef5bf
3 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
{
'name': 'Module Name',
'summary': 'Module Summary',
'description': '''
Multi-Line Module Description
Goes Here
''',
'version': '1.0.0', # (X.Y.Z.W) X: Odoo Version (not present), Y: Major Upgrade, Z: Bugfix, W: Minor Upgrade
'category': 'Uncategorized', # Possible values: [https://github.com/odoo/odoo/blob/16.0/odoo/addons/base/data/ir_module_category_data.xml]
'license': 'LGPL-3',
'sequence': 100, # Order in which the module will be displayed
# Author, Pricing, Licensing, and Support Info
'author': 'Your Company',
'website': 'https://yourcompany.com',
'maintainer': 'Your Company DevTeam',
'contributors': [
'Name 1 <email@example.com>',
'Name 2 <email2@example.com>'
],
'price': 0.0,
'currency': 'MXN',
'support': 'your-email@yourcompany.com',
'live_test_url': 'http://www.yourcompany.com/live_test',
# Technical Info
'depends': [
'base',
# other dependent modules...
],
'external_dependencies': {
'python': [
# python packages...
],
'bin': [
# binary packages...
],
},
'data': [
'security/ir.model.access.csv'
'views/view_file.xml',
# ... other xml, csv data files
],
'demo': [
'demo/demo_data.xml'
# ... other demo data files
],
'qweb': [
'static/src/xml/template.xml'
# ... other qweb templates
],
'assets': {
'web.assets_backend': [
'module_name/static/src/js/file.js',
'module_name/static/src/css/style.css'
# ... other assets
],
'web.assets_qweb': [
'module_name/static/src/xml/template.xml'
# ... other qweb templates
],
},
# Module Status
'application': False,
'installable': True,
'auto_install': False
}

View File

@@ -0,0 +1,24 @@
{
'name': 'Report URL',
'summary': 'Adds Report URL to Odoo Container',
'description': '''
Odoo Containers doesn't come with report.url param out of the box, so we add it for you to work in Odoocker.
''',
'version': '1.0.0',
'category': 'Technical',
'license': 'LGPL-3',
'author': 'Odoocker',
'maintainer': 'Odoocker',
'contributors': [
'Yhael S <yhaelopez@gmail.com>'
],
'depends': [
'base'
],
'data': [
'data/ir_config_parameter.xml'
],
'application': False,
'installable': True,
'auto_install': True
}

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- When initializing Odoo through Docker this parameter is missing. -->
<record id="report_url" model="ir.config_parameter">
<field name="key">report.url</field>
<field name="value">http://127.0.0.1:8069</field>
</record>
</odoo>