优化消息模版

This commit is contained in:
jinling.yang
2024-09-18 17:39:06 +08:00
parent 8bf1c56efd
commit 43f53197c4
21 changed files with 73 additions and 18 deletions

View File

@@ -11,7 +11,7 @@ READONLY_FIELD_STATES = {
class ReSaleOrder(models.Model):
_inherit = ['sale.order', 'sf.message.template']
_inherit = 'sale.order'
mrp_production_count = fields.Integer(
"Count of MO generated",
@@ -183,7 +183,7 @@ class ProductTemplate(models.Model):
class RePurchaseOrder(models.Model):
_inherit = ['purchase.order','sf.message.template']
_inherit = 'purchase.order'
mrp_production_count = fields.Integer(
"Count of MO Source",