Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions delivery_fedex/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-

# from . import controllers
from . import models
38 changes: 38 additions & 0 deletions delivery_fedex/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-
{
'name': "FedEx Integration",

'summary': """
A module to integrate FedEx Delivery, Tracking, and Rates into Odoo """,

# 'description': """
# Long description of module's purpose
# """,

'sequence': -10,

'application': True,

'author': "Yousef Sheta",
'website': "https://github.com/TrueYouface",

# Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/16.0/odoo/addons/base/data/ir_module_category_data.xml
# for the full list
'category': 'Delivery',
'version': '0.1',

# any module necessary for this one to work correctly
'depends': ['base', 'delivery_integration_base'],

# always loaded
'data': [
# 'security/ir.model.access.csv',
'views/delivery_fedex_view.xml',
# 'views/stock_picking_views.xml',
],
# only loaded in demonstration mode
# 'demo': [
# 'demo/demo.xml',
# ],
}
3 changes: 3 additions & 0 deletions delivery_fedex/controllers/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-

from . import controllers
21 changes: 21 additions & 0 deletions delivery_fedex/controllers/controllers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# -*- coding: utf-8 -*-
# from odoo import http


# class ModuleTemplate1(http.Controller):
# @http.route('/module_template_1/module_template_1', auth='public')
# def index(self, **kw):
# return "Hello, world"

# @http.route('/module_template_1/module_template_1/objects', auth='public')
# def list(self, **kw):
# return http.request.render('module_template_1.listing', {
# 'root': '/module_template_1/module_template_1',
# 'objects': http.request.env['module_template_1.module_template_1'].search([]),
# })

# @http.route('/module_template_1/module_template_1/objects/<model("module_template_1.module_template_1"):obj>', auth='public')
# def object(self, obj, **kw):
# return http.request.render('module_template_1.object', {
# 'object': obj
# })
30 changes: 30 additions & 0 deletions delivery_fedex/demo/demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<odoo>
<data>
<!--
<record id="object0" model="module_template_1.module_template_1">
<field name="name">Object 0</field>
<field name="value">0</field>
</record>

<record id="object1" model="module_template_1.module_template_1">
<field name="name">Object 1</field>
<field name="value">10</field>
</record>

<record id="object2" model="module_template_1.module_template_1">
<field name="name">Object 2</field>
<field name="value">20</field>
</record>

<record id="object3" model="module_template_1.module_template_1">
<field name="name">Object 3</field>
<field name="value">30</field>
</record>

<record id="object4" model="module_template_1.module_template_1">
<field name="name">Object 4</field>
<field name="value">40</field>
</record>
-->
</data>
</odoo>
4 changes: 4 additions & 0 deletions delivery_fedex/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-

# from . import stock_picking
from . import deliver_carrier
Loading