上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 46 下一页
摘要: 且看源码: @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)
摘要: 可以使用t-options='{"widget":'date'}' 阅读全文
posted @ 2021-07-02 12:17 那时一个人 阅读(147) 评论(0) 推荐(0)
摘要: ![](https://img2020.cnblogs.com/blog/1482713/202106/1482713-20210628153141154-433703899.png) 阅读全文
posted @ 2021-06-28 15:32 那时一个人 阅读(80) 评论(0) 推荐(0)
摘要: 不变的流向:价值总是从贷方流向借方 销售的时候看金额的流向 采购的时候看产品价值的流向. 例子: 采购: 销售: 2021年12月24日 采购价值流向 销售价值流向 阅读全文
posted @ 2021-06-22 16:14 那时一个人 阅读(211) 评论(0) 推荐(0)
摘要: 源码示例: 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)
摘要: <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)
摘要: 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)
摘要: 需要调整的原生代码: # 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)
摘要: 字段示例: 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)
摘要: 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 下一页