会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
那人,那事,那代码
走走停停,终该是留点什么
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
12
13
14
15
16
17
18
19
20
···
46
下一页
2021年7月5日
odoo 如何设置字段变更跟踪
摘要: 且看源码: @api.model def _get_tracked_fields(self, updated_fields): """ Return a structure of tracked fields for the current model. :param list updated_fi
阅读全文
posted @ 2021-07-05 10:38 那时一个人
阅读(273)
评论(0)
推荐(0)
2021年7月2日
odoo qweb 视图使用widget
摘要: 可以使用t-options='{"widget":'date'}'
阅读全文
posted @ 2021-07-02 12:17 那时一个人
阅读(147)
评论(0)
推荐(0)
2021年6月28日
odoo 代码片段比较全的扩展
摘要: 
阅读全文
posted @ 2021-06-28 15:32 那时一个人
阅读(80)
评论(0)
推荐(0)
2021年6月22日
财务会计 会计分录借贷理解
摘要: 不变的流向:价值总是从贷方流向借方 销售的时候看金额的流向 采购的时候看产品价值的流向. 例子: 采购: 销售: 2021年12月24日 采购价值流向 销售价值流向
阅读全文
posted @ 2021-06-22 16:14 那时一个人
阅读(211)
评论(0)
推荐(0)
2021年6月18日
odoo 计算字段搜索
摘要: 源码示例: virtual_available = fields.Float( 'Forecast Quantity', compute='_compute_quantities', search='_search_virtual_available', digits=dp.get_precisio
阅读全文
posted @ 2021-06-18 10:12 那时一个人
阅读(337)
评论(0)
推荐(0)
2021年6月15日
js 将html 内容保存/转换为图片
摘要: <html> <head> <style> .box { width: 600px; height: 300px; background-color: pink; } </style> <meta name="layout" content="main"> <meta http-equiv="Con
阅读全文
posted @ 2021-06-15 19:04 那时一个人
阅读(1831)
评论(0)
推荐(0)
windows 10 制作启动盘方式非pe
摘要: https://support.microsoft.com/zh-cn/windows/%E5%88%9B%E5%BB%BA%E6%81%A2%E5%A4%8D%E9%A9%B1%E5%8A%A8%E5%99%A8-abb4691b-5324-6d4a-8766-73fab304c246 使用Win
阅读全文
posted @ 2021-06-15 18:04 那时一个人
阅读(146)
评论(0)
推荐(0)
2021年6月11日
odoo 在先进先出规则中采购退货,库存成本处理,库存成本按照采购价减扣
摘要: 需要调整的原生代码: # fixme 在获取stock.move时需要做判断。采购退货时不能使用先进先出规则。 candidates = move.product_id._get_fifo_candidates_in_move_with_company(move.company_id.id) 需要调
阅读全文
posted @ 2021-06-11 19:12 那时一个人
阅读(443)
评论(0)
推荐(0)
2021年6月8日
odoo 关于compute+store 字段的分析
摘要: 字段示例: supplier_id = fields.Many2one('res.partner', string='Preferred supplier', compute="_compute_supplier_id", store=True) @api.multi @api.depends('p
阅读全文
posted @ 2021-06-08 16:26 那时一个人
阅读(538)
评论(0)
推荐(0)
2021年6月7日
git .gitignore 中本该忽略的文件不小心加入版本管控处理
摘要: git rm --cached file_path git commit -m 'delete remote somefile' git push
阅读全文
posted @ 2021-06-07 09:38 那时一个人
阅读(74)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
46
下一页
公告