On 10/05/13 01:41 -0700, TPH wrote:
> Hello,
> 
> I have a module that copies the sale.description automatially to 
> invoice.description.
> 
> Some time ago I payed someone to create this module. Now I have to update 
> the module to 2.6, but I can't reach this person any longer.
> 
> So I tried to update nodule by my own, but I have some problems, because I 
> don't really understand "super" and some other things.
> 
> Here is the version of 2.4: http://pastebin.com/B6Wb6H3P
> 
> and this is my experiment of the 2.6 version: http://pastebin.com/JmJxHYgn
> error message at the moment: local variable 'Sale' referenced before

Better to do like that: http://pastebin.com/kFtb5JuP

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgp1LiThU3vio.pgp
Description: PGP signature

Reply via email to