예제 #1
0
 def createRabbitMQ(self, cr, uid, states, types):
     api = RabbitMQ()
     if types != 'deleteMQ':
         return api.createRabbitMQ(cr, uid, states, self,
                                   self.pool.get('general.synchronization'),
                                   'state', 'state_logs', types)
     return api.createRabbitMQforUnlink(
         cr, uid, states, self, self.pool.get('general.synchronization'),
         'state', 'state_logs', types)
예제 #2
0
 def createRabbitMQ(self, cr, uid, categories, types):
     api = RabbitMQ()
     if types != 'deleteMQ':
         return api.createRabbitMQ(cr, uid, categories, self,
                                   self.pool.get('general.synchronization'),
                                   'product_public_category',
                                   'product_public_category_logs', types)
     return api.createRabbitMQforUnlink(
         cr, uid, categories, self,
         self.pool.get('general.synchronization'),
         'product_public_category', 'product_public_category_logs', types)
예제 #3
0
 def createRabbitMQforGiveK(self, cr, uid, giveks, types):
     api = RabbitMQ()
     if types != 'deleteMQ':
         return api.createRabbitMQforGiveK(
             cr, uid, giveks, self,
             self.pool.get('general.synchronization'), 'give_k',
             'give_k_logs', types)
     return api.createRabbitMQforGiveKUnlink(
         cr, uid, giveks, self, self.pool.get('general.synchronization'),
         'give_k', 'give_k_logs', types)
예제 #4
0
 def createRabbitMQforSessionProducts(self, cr, uid, products, types):
     api = RabbitMQ()
     if types != 'deleteMQ':
         return api.createRabbitMQforSessionProducts(
             cr, uid, products, self,
             self.pool.get('general.synchronization'), 'product_session',
             'product_session_logs', types)
     return api.createRabbitMQforSessionProductsUnlink(
         cr, uid, products, self, self.pool.get('general.synchronization'),
         'product_session', 'product_session_logs', types)
예제 #5
0
 def createRabbitMQforHotProducts(self, cr, uid, categories, types):
     api = RabbitMQ()
     return api.createRabbitMQforHotProducts(
         cr, uid, categories, self,
         self.pool.get('general.synchronization'), 'product_hot',
         'product_hot_logs', types)
예제 #6
0
 def createRabbitMQfO(self, cr, uid, categories, types):
     api = RabbitMQ()
     return api.createRabbitMQfO(cr, uid, categories, self,
                                 self.pool.get('general.synchronization'),
                                 'product_public_category',
                                 'product_public_category_logs', types)
예제 #7
0
 def createRabbitMQ(self, cr, uid, datas, types):
     api = RabbitMQ()
     return api.createRabbitMQ(cr, uid, datas, self,
                               self.pool.get('general.synchronization'),
                               'odoo_change_Knumber',
                               'odoo_change_Knumber_logs', types)
예제 #8
0
 def createRabbitMQfO(self, cr, uid, brands, types):
     api = RabbitMQ()
     return api.createRabbitMQfO(cr, uid, brands, self, self.pool.get('general.synchronization'), 'product_convert', 'product_convert_logs', "types")
예제 #9
0
파일: sale.py 프로젝트: sonhh2412/mua10k
 def createRabbitMQ(self, cr, uid, sales, types):
     api = RabbitMQ()
     return api.createRabbitMQ(cr, uid, sales, self,
                               self.pool.get('general.synchronization'),
                               'odoo_order_state', 'odoo_order_state_logs',
                               types)
예제 #10
0
 def createRabbitMQfO(self, cr, uid, partners, types):
     api = RabbitMQ()
     return api.createRabbitMQfO(cr, uid, partners, self,
                                 self.pool.get('general.synchronization'),
                                 'customer', 'customer_logs', types)
예제 #11
0
파일: country.py 프로젝트: sonhh2412/mua10k
 def createRabbitMQfO(self, cr, uid, countries, types):
     api = RabbitMQ()
     return api.createRabbitMQfO(cr, uid, countries, self, self.pool.get('general.synchronization'), 'country', 'country_logs', types)
예제 #12
0
파일: product.py 프로젝트: sonhh2412/mua10k
 def createRabbitMQfO(self, cr, uid, products, types):
     api = RabbitMQ()
     return api.createRabbitMQfO(cr, uid, products, self,
                                 self.pool.get('general.synchronization'),
                                 'product_product', 'product_product_logs',
                                 types)
예제 #13
0
 def createRabbitMQfO(self, cr, uid, states, types):
     api = RabbitMQ()
     return api.createRabbitMQfO(cr, uid, states, self,
                                 self.pool.get('general.synchronization'),
                                 'state', 'state_logs', types)
예제 #14
0
 def createRabbitMQforNotifyContent(self, cr, uid, notifys, types):
     api = RabbitMQ()
     return api.createRabbitMQforNotifyContent(
         cr, uid, notifys, self, self.pool.get('general.synchronization'),
         'notify_content', 'notify_content_logs', types)
예제 #15
0
 def createRabbitMQforSendNotify(self, cr, uid, notifys, message, types):
     api = RabbitMQ()
     return api.createRabbitMQforSendNotify(
         cr, uid, notifys, message, self,
         self.pool.get('general.synchronization'), 'send_notify',
         'send_notify_logs', types)