abe= []
abibiti=1
self.cr.execute("SELECT name FROM account_analytic_account where parent_id=abibiti")
for t in self.cr.fetchall():
for item in t:
abe.append(item)
我想使用变量“abbiti”的值来检查 where 子句,任何人都可以帮助我
abe= []
abibiti=1
self.cr.execute("SELECT name FROM account_analytic_account where parent_id=abibiti")
for t in self.cr.fetchall():
for item in t:
abe.append(item)
我想使用变量“abbiti”的值来检查 where 子句,任何人都可以帮助我