Initial WIP commit of connector_opencart for Odoo 12.0

This commit is contained in:
Jared Kipe
2019-05-19 11:41:56 -07:00
parent 0e9bfab0de
commit 27e5cf4f72
28 changed files with 1906 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# © 2019 Hibou Corp.
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields, api
class DeliveryCarrier(models.Model):
""" Adds Opencart specific fields to ``delivery.carrier``
``opencart_code``
Code of the carrier delivery method in Opencart.
Example: ``USPS``
"""
_inherit = "delivery.carrier"
opencart_code = fields.Char(
string='Opencart Method Code',
required=False,
)