摘要: * 快捷标签 提供快捷标签是为了简化代码的编码,把复杂的工作封装化 * 找到封装化的源码: openerp/tools/convert.py xml_import self._tags = { 'record': self._tag_record, 'delete': self._tag_delete, 'f... 阅读全文
posted @ 2016-03-14 18:21 toby2chen 阅读(1188) 评论(0) 推荐(0) 编辑
摘要: *模型代码 addons/stock/stock.py ---------------- #移库单执行移库动作(弹出详细框) @api.cr_uid_ids_context def do_enter_transfer_details(self, cr, uid, picking, context=None): pass... #开启确认框操作(调用)... 阅读全文
posted @ 2016-03-14 15:12 toby2chen 阅读(937) 评论(0) 推荐(0) 编辑