<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Name 'method' is not defined  的错误提示检查结果]]></title><description><![CDATA[<p dir="auto">今天在测试向导时，发现保存时总是出问题<br />于是为了测试向导的字段没有问题，于是我用该向导的字段及view来创建一个新模块<br /><br />在测试保存时都正常，但回到tree视图时，就提示如下：<br />[attachimg=2]<br />OpenERP Client error<br />Uncaught Error: QWeb2 - template['ListView.rows']: Runtime Error: Error: QWeb2 - template['ListView.row']: Runtime Error: Error: NameError: name 'method' is not defined&lt;br / [检测到链接无效，已移除] br /&gt;<br />解决流程（个人尝试方法，仅供参考，避免别人走相同的路线）：<br />１.由于该错误是数据库表存在数据才会出错，于是我认为是数据不完整导致，我将数据库中的字段缺省的全部手工填写上<br />[img2][attachimg=2][/img2]<br />检查字段是否定义错误，如图<br />[attach=3][attachimg=3]<br />再检查数据库表<br />[attach=3][attachimg=3]<br />结果：失败<br />２：经与大神讨论，认为ＯＥ　７版本中，有几个版本是存在这个错误，于是我将本机的2013-03-30号的版本删除，替换成2013-05-11版<br />结果：失败<br />３：Ccdos提议：可能是字段中必须有 Name 字段<br />结果：失败<br />４：海飞大神提议：追加_rec_name="字段"<br />结果：失败<br />５：后经Jeff大神检查<br />流程：<br />５.１：先检查search_view 视图是否有问题<br />５.２：检查tree_view视图，发现在视图中多了一个Color方法<br />结果：成功<br /><br /><br />在此，十分感谢群里各位大神们的帮助与支持，谢谢<br />[attach=3][attachimg=3]<br /><br /></p>
]]></description><link>https://odoo.net.cn/topic/2285/name-method-is-not-defined-的错误提示检查结果</link><generator>RSS for Node</generator><lastBuildDate>Sun, 06 Sep 2026 12:37:45 GMT</lastBuildDate><atom:link href="https://odoo.net.cn/topic/2285.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 May 2013 16:18:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Name 'method' is not defined  的错误提示检查结果 on Tue, 14 May 2013 11:37:39 GMT]]></title><description><![CDATA[<p dir="auto">是的，如果定义一个方法即可，只是我用不上，所以就删除掉了</p>
]]></description><link>https://odoo.net.cn/post/14741</link><guid isPermaLink="true">https://odoo.net.cn/post/14741</guid><dc:creator><![CDATA[18684036]]></dc:creator><pubDate>Tue, 14 May 2013 11:37:39 GMT</pubDate></item><item><title><![CDATA[Reply to Name 'method' is not defined  的错误提示检查结果 on Sun, 12 May 2013 12:34:26 GMT]]></title><description><![CDATA[<p dir="auto">按提示说来....<br /><br /> colors 后面的颜色后面是跟的一个 method ?<br /><br />可以自定义一个method 来确认颜色... 返回为true 时, 显示blue , 返回为 false 时, 不显示bule<br /><br />既然 是 method 未定义, 那么定义一个 method 是不是就OK了呢?</p>
]]></description><link>https://odoo.net.cn/post/14706</link><guid isPermaLink="true">https://odoo.net.cn/post/14706</guid><dc:creator><![CDATA[mrshelly]]></dc:creator><pubDate>Sun, 12 May 2013 12:34:26 GMT</pubDate></item><item><title><![CDATA[Reply to Name 'method' is not defined  的错误提示检查结果 on Sun, 12 May 2013 03:42:29 GMT]]></title><description><![CDATA[<p dir="auto">本来是想在文档中，图文并貌的，结果没弄得出来，对不起jeff,对不起总监的期望啊，还有上海-Joshua(470534800) 0:01:13 的指导</p>
]]></description><link>https://odoo.net.cn/post/14704</link><guid isPermaLink="true">https://odoo.net.cn/post/14704</guid><dc:creator><![CDATA[18684036]]></dc:creator><pubDate>Sun, 12 May 2013 03:42:29 GMT</pubDate></item><item><title><![CDATA[Reply to Name 'method' is not defined  的错误提示检查结果 on Sun, 12 May 2013 01:02:12 GMT]]></title><description><![CDATA[<p dir="auto">继续努力... 再接再励.....<br /></p>
]]></description><link>https://odoo.net.cn/post/14700</link><guid isPermaLink="true">https://odoo.net.cn/post/14700</guid><dc:creator><![CDATA[mrshelly]]></dc:creator><pubDate>Sun, 12 May 2013 01:02:12 GMT</pubDate></item><item><title><![CDATA[Reply to Name 'method' is not defined  的错误提示检查结果 on Sat, 11 May 2013 16:22:57 GMT]]></title><description><![CDATA[<p dir="auto">问题点这里[attachimg=1]</p>
]]></description><link>https://odoo.net.cn/post/14696</link><guid isPermaLink="true">https://odoo.net.cn/post/14696</guid><dc:creator><![CDATA[18684036]]></dc:creator><pubDate>Sat, 11 May 2013 16:22:57 GMT</pubDate></item></channel></rss>