mirror of
https://gitlab.com/hibou-io/hibou-odoo/suite.git
synced 2025-01-20 12:37:31 +02:00
WIP from 12
This commit is contained in:
22
connector_opencart/models/delivery/common.py
Normal file
22
connector_opencart/models/delivery/common.py
Normal 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,
|
||||
)
|
||||
Reference in New Issue
Block a user