← Back to team overview

openerp-india team mailing list archive

[Bug 922032] Re: Trunk: Bug in "send folloups" duplicated values in table partner_stat_rel

 

Hello Ravish

Thank you for your comment. Now I looked deeper into it and considered,
that the problem occurs only when journal-entry is due, that means, when
"date_maturity" in table "account_move_line" is smaller than the current
date minus the "delay" defined in table
"account_followup_followup_line".

Please check again. Thanks
René

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/922032

Title:
  Trunk: Bug in "send folloups" duplicated values in table
  partner_stat_rel

Status in OpenERP Addons (modules):
  Incomplete

Bug description:
  Im testing with trunk-version of 6.1RC1 and am concerning the
  following problem: I have several journal-entrys for different
  partners and want wo send folloups. when I want to print the folloups
  I always get the error, that entrys in "parter_stat_rel" are not
  unique because there is the following constraint in
  "partner_stat_rel":  CONSTRAINT partner_stat_rel_osv_memory_id_key
  UNIQUE(osv_memory_id , partner_id );

  In my situation, when i want to print folloups, there are always
  generated duplicated entrys and printint is not possible. So I tried
  to find the problem and first removed the constraint in
  partner_stat_rel. Below you can find the records generated after the
  constraint was removed. In my test I printed followup for
  partner_id=402. Then some records are generated with duplicated values
  for (osv_memory,partner_id)

  The partner_ids below does not exist in my database. only the id 402
  is correct and represents the id for wich I wanted to print the
  folloup. The other ids are from some open entrys in my journal, but
  there is always added the numer "0001"

  Does someone know, where the problem comes from?

  ********partner_stat_rel************************
  oid;osv_memory;partner_id
  4202892;3;402
  4202878;3;3230001
  4202888;3;3900001
  4202885;3;6520001
  4202879;3;7580001
  4202883;3;8160001
  4202881;3;8160001
  4202876;3;8310001
  4202891;3;11610001
  4202884;3;11910001
  4202875;3;12320001
  4202880;3;12520001
  4202889;3;13140001
  4202887;3;13140001
  4202877;3;13380001
  4202890;3;13410001
  4202886;3;13410001
  4202882;3;13410001
  **********************************************

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/922032/+subscriptions


References