Sale Cart
This commit is contained in:
parent
dd01e63267
commit
807d0cf0e9
|
@ -3,6 +3,7 @@
|
|||
#the full copyright notices and license terms.
|
||||
from trytond.pool import Pool
|
||||
from .galatea import *
|
||||
from .sale_cart import *
|
||||
from .shop import *
|
||||
from .product import *
|
||||
|
||||
|
@ -10,6 +11,7 @@ def register():
|
|||
Pool.register(
|
||||
GalateaWebSite,
|
||||
GalateaUser,
|
||||
SaleCart,
|
||||
SaleShop,
|
||||
Template,
|
||||
module='galatea_esale', type_='model')
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
# This file is part of the galatea_esale module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
from trytond.pool import PoolMeta
|
||||
from trytond.model import fields
|
||||
|
||||
__all__ = ['SaleCart']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class SaleCart:
|
||||
__name__ = 'sale.cart'
|
||||
sid = fields.Char('Session', readonly=True)
|
||||
galatea_user = fields.Many2One('galatea.user', 'Galatea User', readonly=True)
|
|
@ -4,6 +4,7 @@ depends:
|
|||
galatea
|
||||
esale
|
||||
product_esale
|
||||
sale_cart
|
||||
xml:
|
||||
galatea.xml
|
||||
product.xml
|
||||
|
|
Loading…
Reference in New Issue