> >> You could use the 'context' parameter of the O2M field to set a > >> value in the context of the transaction. So you can test it in > >> the default, and do something (or not) depending on the test > >> result. > > > > Thank's that worked perfectly! > > > > It's possible to accčss the any from the records properties? For > example: I want to access the party name of the current opportunity to > set a default value for the description field. > > Is this possible?
You can use Eval in the context definition, so you can have access to the fields of your source record in the default. I do not know the sale module (I use tryton as a framework rather than as an ERP), so i might be off-target here. Jean CAVALLO Coopengo
