Message 32817

Author
ced
Date
2017-03-27.15:57:55
Message id
32817

Content

I just found running tests that a behaviour is removed with the multivalue per company. A record with no company does not become a default value when there is no record for this company.
This happens mainly for sequence value for document that are created by default from the XML. I'm fixing them by defining a default method on the model which return the id from the XML. Another solution could be to have the default method retrieving the multivalue for no company but in the case of those standard module, I find it is too much cumbersome.
Finally, I think this lost of feature is indeed a good thing because it enforce explicit declaration of the default behaviour.
History
Date User Action Args
2017-03-27 15:57:55cedsetmessageid: <1490623075.37.0.589055927752.issue2349@tryton.org>
2017-03-27 15:57:55cedsetrecipients: + yangoon, ohuisman, eric, albertca, resteve, pokoli, angel, jesteve, guillemNaN, reviewbot, unicode2013
2017-03-27 15:57:55cedlinkissue2349 messages
2017-03-27 15:57:55cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)