On 09/28/2010 04:41 PM, "Cédric Krier" <[email protected]>" wrote:
On 28/09/10 16:13 +0200, Paul J Stevens wrote:
On 09/28/2010 01:52 PM, "Cédric Krier"<[email protected]>" wrote:
It comes from the _default_on_change on server side [1].
The method doesn't respect the with_rec_name parameter of the default_get [2].
[1] http://hg.tryton.org/trytond/file/32a3cbee4bdd/trytond/model/model.py#l591
[2] http://hg.tryton.org/trytond/file/32a3cbee4bdd/trytond/model/model.py#l493
I'll take your word for it, but I don't see it there. I can't see past
the voodoo going on there.
Attached patch for account_invoice did it for me :-(
This is not right because on_change method must return '.rec_name' of many2one
to prevent too much queries from the client.
It is the _default_on_change method that must not add '.rec_name' to
default_get if not asked.
PS: Please follow http://code.google.com/p/tryton/wiki/HowtoContribute
You mean the user-format in the patch-set?
I did configure .hgrc properly afaik:
-<s>-
[ui]
paul = Paul J Stevens <[email protected]>
-<s>-
where 'paul' is the local username.
but mercurial doesn't appear to use it...
--
________________________________________________________________
Paul Stevens paul at nfg.nl
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands________________________________http://www.nfg.nl
--
[email protected] mailing list