openerp - How do I make related field that fetches all one2many values -


मान लीजिए मेरे पास ऐसा कोड है:

  'खर्च': fields.related ( 'Property_expense_preset', 'expense_preset', 'expenditure', type = "many2many", relation = "property.expense", स्ट्रिंग = "सामान्य व्यय", store = false),  

अब property_expense_preset एक 2many फ़ील्ड है, जिसका मतलब है कि बहुत से property_expense_preset s हो सकते हैं। लेकिन उपरोक्त कोड केवल पहले property_expense_preset के बच्चों को लाता है। मैं उन सभी को इसके बजाय दिखाना चाहता हूं। मैं ऐसा कैसे करूँ?


Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -