← Back to team overview

credativ team mailing list archive

[Bug 890564] Re: many2one related field doesn't update the database!!!

 

Hi,

This is a wishlist rather than a bug, and it only concerns fields.related with store=True.
In cases where this is important, the model could contain a store trigger that depends on the target of the relation too.

The framework could perhaps do this automatically as you suggest, but I
think in most cases it is only a nice-to-have.

** Changed in: openobject-server
   Importance: Low => Wishlist

-- 
You received this bug notification because you are a member of OpenERP
Framework Experts, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/890564

Title:
  many2one related field doesn't update the database!!!

Status in OpenERP Server:
  Confirmed

Bug description:
  hello,

  To produce the bug follow these steps:

  Suppose we have 2 different companies A, B:
  1) Create "Fiscal year 2011" for company A with monthly periods.
       check that Company related to all periods is A
  2) Now change the company on  "Fiscal year 2011" from A to B.
        Check that all periods company id is also updated to B. (In GTK and WebClient as per expected behavior)

  but when i am checking the database entry in account_period table the company id is not updated!!!
  If i am updating any filed value on account.period object then and only then company id get updated.

  Thanks and regards,
  Purnendu Singh

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