Example #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)
Example #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)
Example #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)
Example #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)
Example #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)
Example #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)
Example #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)
Example #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")
Example #9
0
 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)
Example #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)
Example #11
0
 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)
Example #12
0
 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)
Example #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)
Example #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)
Example #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)