1、处理 智能工厂,销售角色与采购角色权限更新 需求

This commit is contained in:
yuxianghui
2024-08-08 17:03:36 +08:00
parent d469c09f15
commit 36fd17b6c7
5 changed files with 60 additions and 1 deletions

View File

@@ -13,6 +13,11 @@ READONLY_FIELD_STATES = {
class ReSaleOrder(models.Model):
_inherit = 'sale.order'
mrp_production_count = fields.Integer(
"Count of MO generated",
compute='_compute_mrp_production_ids',
groups='mrp.group_mrp_user,sf_base.group_sale_salemanager,sf_base.group_sale_director')
logistics_way = fields.Selection([('自提', '自提'), ('到付', '到付'), ('在线支付', '在线支付')], string='物流方式')
state = fields.Selection(
selection=[