1、添加权限;2、设备的设备检修标准字段关闭创建功能;3、解决 销售经理创建报价单选择产品后没有把模型和价格带过去 的bug;4、关闭仓库创建按钮

This commit is contained in:
yuxianghui
2024-05-13 11:54:03 +08:00
parent 384b032ef3
commit 0f47f7c3b8
7 changed files with 50 additions and 17 deletions

View File

@@ -328,7 +328,8 @@ class RealTimeDistributionOfFunctionalTools(models.Model):
tool_stock_total = fields.Integer(string='当前库存量', readonly=True)
min_stock_num = fields.Integer('最低库存量')
max_stock_num = fields.Integer('最高库存量')
batch_replenishment_num = fields.Integer('批次补货量', readonly=True, compute='_compute_batch_replenishment_num')
batch_replenishment_num = fields.Integer('批次补货量', readonly=True, compute='_compute_batch_replenishment_num',
store=True)
unit = fields.Char('单位')
image = fields.Binary('图片', readonly=False)