摘要: 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 何双新 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 单独的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 何双新 阅读(1498) 评论(0) 推荐(0) 编辑
摘要: #确认按钮 反写回合同页面,当前页面反写数据: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) 编辑