> and this is my experiment of the 2.6 version: http://pastebin.com/JmJxHYgn > error message at the moment: local variable 'Sale' referenced before
line 15: invoice_id = super(Sale, self).create_invoice(sale, invoice_type) you define sale parameter and not add some value before. http://hg.tryton.org/modules/sale/file/d3c06443a7b6/sale.py#l671 Example inherit: http://hg.tryton.org/modules/sale_shipment_cost/file/1374b0326e10/sale.py#l190 API from 2.4 to 2.6 change some parts. Check documentation Note: More better send this questions at tryton-dev mailing list. -- Si us plau, NO adjunti arxius a les seves respostes. Li preguem que integri el text al cos del missatge. Pot respondre usant NetEtiquete que li ajudarà a seguir la conversa. http://es.wikipedia.org/wiki/Netiquette Por favor, NO adjunte archivos a sus respuestas. Le rogamos que integre el texto en el cuerpo del mensaje. Puede responder usando NetEtiquete que le ayudará a seguir la conversación.http://es.wikipedia.org/wiki/Netiquette Please, DO NOT send attachment files with your answers, just copy and paste only the text you need to send into the body of your mails. Repply using NetEtiquete. http://en.wikipedia.org/wiki/Netiquette
