unbuntu 13.10 64位 不知道为什么启动失败 应该是pgsql服务打不开 不知道何故。。。
juventusryp
-
GreenOpenERP -- 绿色版 OpenERP for windows/linux , 源码运行 解压即用 -
日期乱码问题嗯 已经了解
今天又试了 英文版的win7 还是不行。。
准备去lp提交bug了。 -
日期乱码问题[quote author=mrshelly link=topic=16275.msg27604#msg27604 date=1394589010]
最好的方式 是将你的问题如何重现方式 以及 你的系统配置等 发到 lp bug report 上. 然后就有可能解决了.
[/quote]
小白求教 lp bug report 是哪里。。 -
日期乱码问题经过上午询问群里的朋友 感觉是不是因为win7系统 显示语言是中文所致
因为论坛有大神说是openerp读取系统本身时间
目前正在下载语言包安装,失败中。。。 -
日期乱码问题在网页中查询会出现如图的日期乱码
在网上查了3个小时帖子,把论坛和百度出来的方法都试了,还是不行。。特来求问 -
求问为什么插入一段代码就会出错[quote author=tedi3231 link=topic=16244.msg27507#msg27507 date=1393297755]
这个应该是不行的,以前刚学的时候我也这么做过。你需要在Code中定义这样的字段。具体原因等大牛来补充。你可以尝试在DEBUG模式下向视图中添加字段试试
[/quote]
好的 了解 看来还得等大牛来解释下原因 谢谢 -
求问为什么插入一段代码就会出错[quote author=tedi3231 link=topic=16244.msg27505#msg27505 date=1393297453]
这个字段是不是你通过DEBUG模式直接添加的啊?
[/quote]
是通过开发者模式 编辑form视图来的 -
求问为什么插入一段代码就会出错求教在一个模块里插入了红色部分的代码就会报错 哪里出错了呢?
出错提示:ValidateError
验证字段 arch 时发生错误:无效的 XML 视图结构
<?xml version="1.0"?>
<form string="Purchase Order" version="7.0">
<header>
<button name="wkf_send_rfq" states="draft" string="Send by Email" type="object" context="{'send_rfq':True}" class="oe_highlight"/>
<button name="wkf_send_rfq" states="sent" string="Send by Email" type="object" context="{'send_rfq':True}"/>
<button name="print_quotation" string="Print" type="object" states="draft" class="oe_highlight" groups="base.group_user"/>
<button name="print_quotation" string="Print" type="object" states="sent" groups="base.group_user"/>
<button name="purchase_confirm" states="draft" string="Confirm Order"/>
<button name="purchase_confirm" states="sent" string="Confirm Order" class="oe_highlight"/>
<button name="wkf_send_rfq" states="confirmed" string="Resend Purchase Order" type="object" class="oe_highlight"/>
<button name="action_cancel" states="approved,except_picking,except_invoice" string="Cancel Order" type="object"/>
<button name="picking_ok" states="except_picking" string="Manually Corrected"/>
<button name="invoice_ok" states="except_invoice" string="Manually Corrected"/>
<button name="purchase_approve" states="confirmed" string="Approve Order" class="oe_highlight" groups="purchase.group_purchase_manager"/>
<button name="view_picking" string="Receive Products" type="object" attrs="{'invisible': ['|', ('shipped','=',True), ('state','!=', 'approved')]}" class="oe_highlight"/>
<button name="view_invoice" string="Receive Invoice" type="object" attrs="{'invisible': ['|', ('invoice_method','in', ['picking', 'manual']), '|', ('state','!=', 'approved'), ('invoiced','=',True) ]}" class="oe_highlight"/>
<button name="action_cancel_draft" states="cancel,sent,confirmed" string="Set to Draft" type="object"/>
<button name="purchase_cancel" states="draft,confirmed,sent" string="Cancel Order"/>
<field name="state" widget="statusbar" statusbar_visible="draft,sent,approved,done" statusbar_colors="{"except_picking":"red","except_invoice":"red","confirmed":"blue"}" readonly="1"/>
</header>
<sheet>
<div class="oe_title">
<h1>
<label string="Request for Quotation " attrs="{'invisible': [('state','not in',('draft','sent'))]}"/>
<label string="Purchase Order " attrs="{'invisible': [('state','in',('draft','sent'))]}"/>
<field name="name" class="oe_inline" readonly="1"/>
</h1>
</div>
<group>
<group>
<field name="partner_id" on_change="onchange_partner_id(partner_id)" context="{'search_default_supplier':1,'default_supplier':1,'default_customer':0}" domain="[('supplier','=',True)]"/>
<field name="partner_ref"/>
<field domain="[('type','=','purchase')]" name="pricelist_id" groups="product.group_purchase_pricelist" on_change="onchange_pricelist(pricelist_id, context)"/>
<field name="currency_id" invisible="1"/>
<field name="journal_id" invisible="1"/>
</group>
<group>
<field name="date_order"/>
<field name="origin" attrs="{'invisible': [('origin','=',False)]}"/>
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection" groups="stock.group_locations"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
</group>
</group>
<notebook>
<page string="Purchase Order">
<field name="order_line">
<tree string="Purchase Order Lines" editable="bottom">
<field name="product_id" on_change="onchange_product_id(parent.pricelist_id,product_id,0,False,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="name"/>
<field name="date_planned"/>
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
<field name="account_analytic_id" groups="purchase.group_analytic_accounting" domain="[('type','not in',('view','template'))]"/>
<field name="product_qty" on_change="onchange_product_id(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="product_uom" groups="product.group_uom" on_change="onchange_product_uom(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position,date_planned,name,price_unit,context)"/>
<field name="price_unit"/>
<field name="taxes_id" widget="many2many_tags" domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
<field name="price_subtotal"/>
</tree>
</field>
<group class="oe_subtotal_footer oe_right">
<field name="amount_untaxed" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<field name="amount_tax" widget="monetary" options="{'currency_field': 'currency_id'}"/>
<div class="oe_subtotal_footer_separator oe_inline">
<label for="amount_total"/>
<button name="button_dummy" states="draft" string="(update)" type="object" class="oe_edit_only oe_link"/>
</div>
<field name="amount_total" nolabel="1" class="oe_subtotal_footer_separator" widget="monetary" options="{'currency_field': 'currency_id'}"/>
</group>
<div class="oe_clear"/>
<field name="notes" class="oe_inline" placeholder="Terms and conditions..."/>
</page>
<page string="Incoming Shipments & Invoices">
<group>
<group>
<field name="dest_address_id" string="Customer Address" on_change="onchange_dest_address_id(dest_address_id)" groups="stock.group_locations"/>
<field name="minimum_planned_date"/>
<field name="location_id" groups="stock.group_locations"/>
<field name="shipped" groups="base.group_no_one"/>
</group>
<group>
<field name="invoice_method"/>
<field name="invoiced"/>
<field name="payment_term_id" widget="selection"/>
<field name="fiscal_position" attrs="{'readonly': [('invoiced','=', True)]}"/>
<!-- We do not need these fields anymore, the information is in open chatter -->
<field name="validator" groups="base.group_no_one"/>
<field name="date_approve" groups="base.group_no_one"/>
</group>
</group>
</page>
[b][color=red]<page string="附件">
<field name="x_attachment"/>
</page>[/color][/b]
</notebook>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>
-
步科绿色版数据库密码是什么刚在群里问了步科大大 原来是因为主机名没改的原因
windows下要把主机名改成127.0.0.1即可 -
步科绿色版数据库密码是什么[quote author=youring link=topic=16239.msg27491#msg27491 date=1393038295]
GreenOpenERP-7.0-latest\pgsql\data\pg_hba.conf
host all all 127.0.0.1/32 trust
本地用户使用 local "trust" authentication,登陆密码为空
如果要远程密码登陆,先本地登陆更改postgres/openerp用户密码
再将trust改为md5,重启postgreSQL。
改密码可以图形界面登陆 GreenOpenERP-7.0-latest\pgsql\bin\pgAdmin3.exe
[attachimg=1]
[/quote]
本地用户使用 local "trust" authentication,登陆密码为空 请教下 这句话是什么意思- -
本地用户登陆的话 登陆账户是哪个 -
步科绿色版数据库密码是什么[quote author=mrshelly link=topic=16239.msg27482#msg27482 date=1392938353]
看看 openerp-server.conf 文件中的 db_打头的参数?
[/quote]
; This is the password that allows database operations:
; admin_passwd = admin
db_host = 127.0.0.1
db_port = 5432
db_user = openerp
pg_path = pgsql/bin
里面没有密码。。 -
步科绿色版数据库密码是什么下载了步科大大的openerp 确实比官方的好用 可是用pgadmin怎么连都进不去
用户名 openerp 密码 openerp 不行。。。 -
不知道这个问题大家见过没(添加many to many字段报错)[quote author=Jeff link=topic=16238.msg27478#msg27478 date=1392903793]
人生苦短,我用python
施主请远离界面开发。越容易实现的东西越难维护。
[/quote]
可是我是新手,想先熟悉熟悉软件 -
不知道这个问题大家见过没(添加many to many字段报错)一旦向一个模型中 输入一个字段类型 many to many的时候就会报出下面错误
百度了一下 查到这个贴子 https://bugs.launchpad.net/openobject-server/+bug/1124130 br />
帖子说的是添加many to one 会出错
下面帖子貌似给出一个补丁 不过本人小白 求教那个补丁具体该怎么用
OpenERP Server Error
Client Traceback (most recent call last):
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1128, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1120, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\service\web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 132, in wrapper
return f(self, dbname, *args, **kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\base\ir\ir_model.py", line 200, in create
self.pool.get(vals['model'])._auto_init(cr, ctx)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\orm.py", line 3028, in _auto_init
self._m2m_raise_or_create_relation(cr, f)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\orm.py", line 3334, in _m2m_raise_or_create_relation
self._save_relation_table(cr, m2m_tbl)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\orm.py", line 2895, in _save_relation_table
""", (relation_table, self._module))
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: character varying = boolean
LINE 5: AND ir_module_module.name=false
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. -
管理视图功能无法正常打开[quote author=Joshua link=topic=16233.msg27468#msg27468 date=1392866726]
[quote author=juventusryp link=topic=16233.msg27462#msg27462 date=1392825670]
依据教程做了一个请假单,但是当想利用开发者模式管理视图时 总是失败
如图在点保存后 总是保存不了
7.0 8.0都不行 求教为什么
[/quote]
其实已经保存了,只是他没有自动关闭这个窗口,你每点击一次,就会创建一个视图。
[/quote]
确实是这样~~~ -
管理视图功能无法正常打开经过很多次测试 发现是点了保存后 界面虽然无反应
但是退出界面在重新进去就会出现
官方和步科大大的都是这样 不知何故 -
管理视图功能无法正常打开刚刚实验 发现貌似用步科绿色版的会出现这个问题
从官方下载的不会出现此问题
不知道什么原因 -
管理视图功能无法正常打开依据教程做了一个请假单,但是当想利用开发者模式管理视图时 总是失败
如图在点保存后 总是保存不了
7.0 8.0都不行 求教为什么 -
小白求教 30分钟开发openerp视屏中的问题按照视屏中去模型中建完数据类型就出现如下提示:
Client Traceback (most recent call last):
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1128, in call_kw
return self._call_kw(req, model, method, args, kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1120, in _call_kw
return getattr(req.session.model(model), method)(*args, **kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 42, in proxy
result = self.proxy.execute_kw(self.session._db, self.session._uid, self.session._password, self.model, method, args, kw)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 30, in proxy_method
result = self.session.send(self.service_name, method, *args)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 103, in send
raise xmlrpclib.Fault(openerp.tools.ustr(e), formatted_info)
Server Traceback (most recent call last):
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\web\session.py", line 89, in send
return openerp.netsvc.dispatch_rpc(service_name, method, args)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\netsvc.py", line 292, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\service\web_services.py", line 626, in dispatch
res = fn(db, uid, *params)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 190, in execute_kw
return self.execute(db, uid, obj, method, *args, **kw or {})
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 132, in wrapper
return f(self, dbname, *args, **kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 199, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\osv.py", line 187, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\base\ir\ir_model.py", line 185, in write
return super(ir_model,self).write(cr, user, ids, vals, context)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\orm.py", line 4201, in write
result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\fields.py", line 559, in set
id_new = obj.create(cr, user, act[2], context=context)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\addons\base\ir\ir_model.py", line 359, in create
self.pool.get(vals['model'])._auto_init(cr, ctx)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\orm.py", line 3028, in _auto_init
self._m2m_raise_or_create_relation(cr, f)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\orm.py", line 3334, in _m2m_raise_or_create_relation
self._save_relation_table(cr, m2m_tbl)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\osv\orm.py", line 2895, in _save_relation_table
""", (relation_table, self._module))
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\sql_db.py", line 161, in wrapper
return f(self, *args, **kwargs)
File "E:\GreenOpenERP-7.0-latest-win-x86\openerp\sql_db.py", line 226, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: character varying = boolean
LINE 5: AND ir_module_module.name=false
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
7.0 8.0都会出现 求教是什么原因 -
大神们,进来看一下,是不是openerp的bug我也在学这个视屏 我在建立模型的时候就会出现问题
OpenERP Server Error
Traceback (most recent call last):
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 348, in dispatch
response["result"] = self._call_function(**self.params)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 220, in _call_function
return checked_call(self.db, *args, **kwargs)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\service\model.py", line 113, in wrapper
return f(dbname, *args, **kwargs)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 215, in checked_call
return self.func(*a, **kw)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\http.py", line 532, in call
return self.method(*args, **kw)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1217, in call_kw
return self._call_kw(model, method, args, kwargs)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\addons\web\controllers\main.py", line 1209, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\addons\base\ir\ir_model.py", line 185, in write
return super(ir_model,self).write(cr, user, ids, vals, context)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\osv\orm.py", line 3839, in write
result += self._columns[field].set(cr, self, id, field, vals[field], user, context=rel_context) or []
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\osv\fields.py", line 627, in set
id_new = obj.create(cr, user, act[2], context=context)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\addons\base\ir\ir_model.py", line 359, in create
self.pool[vals['model']]._auto_init(cr, ctx)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\osv\orm.py", line 2672, in _auto_init
self._m2m_raise_or_create_relation(cr, f)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\osv\orm.py", line 2978, in _m2m_raise_or_create_relation
self._save_relation_table(cr, m2m_tbl)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\osv\orm.py", line 2539, in _save_relation_table
""", (relation_table, self._module))
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\sql_db.py", line 153, in wrapper
return f(self, *args, **kwargs)
File "E:\GreenOpenERP-8.0-latest-win-x86\openerp\sql_db.py", line 218, in execute
res = self._obj.execute(query, params)
ProgrammingError: operator does not exist: character varying = boolean
LINE 5: AND ir_module_module.name=false
^
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
不知道是什么原因