示例#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 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)