On 2016-10-06 17:58, Khurram Shahzad wrote:
> Dear Community,
> 
> We are creating sale objects from various other models like:
> Appointment
> ImagingTest
> LabTest
> etc.
> 
> But, while creating sale, I see only one item in "origin" list being
> "sale". How can I add above-mentioned models in the "origin" list of the
> "sale" module.

You must override the method Sale._get_origin to append to the result
the name of the other models.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: [email protected]
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20161007082004.GB99626%40tetsuo.

Reply via email to