Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

https://www.cybrosys.com/blog/how-to-get-rid-of-the-error-a-partner-cannot-follow-twice-the-same-object

331 visualizaciones

Publicado el

Follow the instructions to fix this problem

Publicado en: Empresariales
  • As a single mother every little bit counts! This has been such a great way for me to earn extra money. As a single mother every little bit counts! Finally, a vehicle for making some honest to goodness real money to make life easier and happier now that I don't have to pull my hair out budgeting every penny every day.Thanks for the rainbow in my sky. ♥♥♥ https://tinyurl.com/vd3y33w
       Responder 
    ¿Estás seguro?    No
    Tu mensaje aparecerá aquí
  • Sé el primero en recomendar esto

https://www.cybrosys.com/blog/how-to-get-rid-of-the-error-a-partner-cannot-follow-twice-the-same-object

  1. 1. www.cybrosys.com How to get rid of the error “A Partner Cannot Follow Twice The Same Object”
  2. 2. Do you need our help ??? Have you ever faced the following Odoo Warning ???
  3. 3. Do you want to fix it? Follow These Instructions:
  4. 4. class Uninstall(models.Model): _inherit = 'base.module.upgrade'
  5. 5. def upgrade_module(self, cr, uid, ids, context=None): res = super(UnInstall, self).upgrade_module(cr, uid, ids, context=context) ir_module = self.pool.get('ir.module.module') followers = self.pool.get('mail.followers')
  6. 6. followers_ids = followers.search(cr, uid, [('res_model', 'in', ['job.card'])]) ids = ir_module.search(cr, uid, [('state', 'in', ['to remove'])]) for j in ir_module.browse(cr, uid, ids): if j.name == 'vehicle_sales':
  7. 7. for i in followers.browse(cr, uid, followers_ids): i.unlink() return res
  8. 8. • This Code Helps All The Developers To Fix The Error. • You Can Solve This Odoo Warning By Following This Code. • You Can Edit Few Lines Which Are Mentioned in the coming slides.
  9. 9. •followers_ids = followers.search(cr, uid, [('res_model', 'in', ['job.card'])])? Here you can fill your table information in which table you face this issue instead of “job.card”
  10. 10. •if j.name == 'vehicle_sales': Here you can fill your custom module in which module you face this issue instead of “vehicle_sale”.
  11. 11. Refer this link for more: https://www.cybrosys.com/blog/how-to-get-rid-of-the-error-a-partner-cannot-follow-twice-the-same-object
  12. 12. Thank You ! Cybrosys Technologies Pvt. Ltd. Neospace, Kinfra Techno Park, Kakkancherry, Calicut University P.O. Calicut Kerala, India - 673635. Cybrosys Ltd 15, ST Antonys Road, Forest Gate, London England, E79QA. Cybrosys Technologies Pvt. Ltd. 1st Floor, Thapasya Building, Infopark, Kakkanad, Kochi, Kerala, India-682030.

×