摘要: #确认按钮 反写回合同页面,当前页面反写数据:def action_split_order_ht(self,cr,uid,ids,context=None): assert len(ids)==1 sigining_contract_obj=self.browse(cr,uid,ids,contex 阅读全文
posted @ 2017-06-04 17:34 何双新 阅读(534) 评论(0) 推荐(0) 编辑
摘要: <div class="oe_right oe_button_box" name="buttons"> <button class="oe_inline oe_stat_button" icon="fa-list" name="action_open_jiesuan_order" type="obj 阅读全文
posted @ 2017-06-04 17:24 何双新 阅读(1241) 评论(0) 推荐(0) 编辑
摘要: <html><body><table border="1"> <tr height="20px"> <th colspan="2">合同编号</th> <td height="20px" >January</td> <th colspan="2">合同名称</th> <td height="4px" 阅读全文
posted @ 2017-06-01 22:26 何双新 阅读(374) 评论(0) 推荐(0) 编辑
摘要: <html><body><table border="1"> <tr height="20px"> <th colspan="2">合同名称</th> <td height="20px" >January</td> <th>对方单位</th> <td height="4px" colspan="10 阅读全文
posted @ 2017-06-01 16:34 何双新 阅读(612) 评论(0) 推荐(0) 编辑
摘要: <!--form view 一个form视图足以--><record id="view_sale_tomrp_form" model="ir.ui.view"> <field name="name">sale.tomrp.form</field> <field name="model">sale.t 阅读全文
posted @ 2017-05-30 14:54 何双新 阅读(460) 评论(0) 推荐(0) 编辑
摘要: 1.首先从客户那了解需求,知道他现有系统所能实现的功能,现在要求要实现的功能,至于怎样实现由我们自己去定.(拿到需求 >了解需求功能 >自己实现的方法) 2.在做之前先规划一下页面视图,每一个步骤,跳转,动作,按钮都要弄得清清楚楚. 3最后是优化界面,以最简原则,增加体验度. 阅读全文
posted @ 2017-05-28 20:15 何双新 阅读(434) 评论(0) 推荐(0) 编辑
摘要: OpenERP对象字段定义的详解 4 OpenERP对象支持的字段类型有, OpenERP对象字段定义的详解 4 基础类型:char, text, boolean, integer, float, date, time, datetime, binary; 复杂类型:selection, funct 阅读全文
posted @ 2017-05-26 12:36 何双新 阅读(3775) 评论(0) 推荐(0) 编辑
摘要: <notebook> <page string="订"> <field name="line_id" > <tree string="订单明细" editable="false"> <field name="partner_id" invisible="1"/> <field name="produ 阅读全文
posted @ 2017-05-26 09:04 何双新 阅读(1238) 评论(0) 推荐(0) 编辑
摘要: 这里是销售订单记录条数固定格式(self, cr, uid, ids, field_name, arg, context=None):def _sales_count(self, cr, uid, ids, field_name, arg, context=None): res = dict.fro 阅读全文
posted @ 2017-05-25 22:12 何双新 阅读(221) 评论(0) 推荐(0) 编辑
摘要: select t1.name 流转单号,t1.date 日期, t3.name_template 产品编码, left(t3.name_template,3) 图, substring(t3.name_template,6,3) 号, t4.material 产品材质,t4.cust_spec 产品 阅读全文
posted @ 2017-05-25 15:27 何双新 阅读(392) 评论(0) 推荐(0) 编辑