Compare commits

...

1 commit

Author SHA1 Message Date
Benoît Vézina
85eac77149 first part 2023-10-23 14:29:17 +00:00
4 changed files with 57 additions and 0 deletions

View file

View file

@ -0,0 +1,40 @@
# -*- coding: utf-8 -*-
{
'name': 'Bemade Sethy',
'version': '1.0',
'category': 'Specific Module Category', # Specify your module's category here
'summary': 'This module is developped by Bemade to instantiate the Sethy Odoo', # Provide a brief summary of the module
'author': 'Bemade',
'website': 'https://bemade.org',
'email': 'it@bemade.org',
'license': 'GPL-3',
'depends': [
# List of module dependencies
'base',
'contact',
'crm',
'membership',
'partner_multi_relation'
'web_responsive'
],
'data': [
# Reference to XML, CSV, and other data files
'data/company_data.xml',
],
'demo': [
# Reference to demo data files
],
'installable': True,
'auto_install': False,
'application': False, # Set to True if the module is an app
'description': """
Main module for Fondation Séthy
==================================
This module install base componnent and will also setup default value according to the Fedation Séthy.
This will allow to put all the customisation here and add other module from Oca or our repos if needed.
Only code specific to Fondation Sethy reside in this module, the reusable stuff should be put in small deicatede module elsewhere
""",
}

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data noupdate="1"> <!-- noupdate="1" means the data won't be updated when the module is upgraded -->
<!-- Assuming 'base.main_company' is the external ID for the main company -->
<record id="base.main_company" model="res.company">
<field name="name">Fondation Séthy Coordonnées</field>
<field name="email">info@fondationsethy.org</field>
<field name="street">164, rue Cowie</field>
<field name="street2">local 335</field>
<field name="city">Granby</field>
<field name="state_id" ref="base.state_qc"/> <!-- Assuming 'base.state_qc' is the external ID for Québec -->
<field name="zip">J2G 3V3</field>
<field name="country_id" ref="base.ca"/> <!-- Assuming 'base.ca' is the external ID for Canada -->
<field name="phone">450 994-3173</field>
</record>
</data>
</odoo>

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB