会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
且将新火试新茶
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
41
42
43
44
45
46
47
48
下一页
2017年6月20日
odoo明细表汇总数据
摘要: 一。在主表中#改动地方 总结算金额 求和:def _get_subtotal2(self, cr, uid, ids, field_name, arg, context=None): # 初始化 res = {} # 获取本页面单据 for order in self.browse(cr, uid,
阅读全文
posted @ 2017-06-20 08:16 何双新
阅读(1769)
评论(0)
推荐(0)
2017年6月9日
odoo创建编号
摘要: def create(self,cr,uid,vals,context=None): if context is None: context ={} print 111111 print vals[] if vals.get('lx_origin', '/') == '/' : vals['lx_o
阅读全文
posted @ 2017-06-09 10:40 何双新
阅读(1040)
评论(0)
推荐(0)
2017年6月6日
关联字段
摘要: 'product_id':fields.many2one('product.product',u'产品',domain=[('sale_ok', '=', True)],required=True,),'pname': fields.related('product_id', 'pname',rel
阅读全文
posted @ 2017-06-06 08:23 何双新
阅读(274)
评论(0)
推荐(0)
2017年6月5日
Table Generator 表格样式生成代码
摘要: <style type="text/css"> .tg {border-collapse:collapse;border-spacing:0;} .tg td{font-family:Arial, sans-serif;font-size:14px;padding:12px 14px;border-
阅读全文
posted @ 2017-06-05 12:39 何双新
阅读(1320)
评论(0)
推荐(0)
2017年6月4日
更新数据
摘要: sql2=" UPDATE sigining_contract SET accumulated_amount='%d',accumulated_pay='%d',discount=(contract_amount-'%d') where contract_origin='%s'"%(JT,PT,PT
阅读全文
posted @ 2017-06-04 18:37 何双新
阅读(171)
评论(0)
推荐(0)
odoo之自动生成编号问题
摘要: 单独的seq。xml文件<?xml version="1.0" encoding="utf-8"?><openerp> <data noupdate="1"><!-- Sequences for demo_contract_lx --> <record id="seq_type_demo_contr
阅读全文
posted @ 2017-06-04 17:44 何双新
阅读(1520)
评论(0)
推荐(0)
odoo返写数据
摘要: #确认按钮 反写回合同页面,当前页面反写数据: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 何双新
阅读(547)
评论(0)
推荐(0)
odoo方法
摘要: <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 何双新
阅读(1261)
评论(0)
推荐(0)
2017年6月1日
html样式表格
摘要: <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 何双新
阅读(393)
评论(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 何双新
阅读(623)
评论(0)
推荐(0)
上一页
1
···
41
42
43
44
45
46
47
48
下一页
公告