物流相关增量开发,修改一些原生按钮,修改一些翻译

This commit is contained in:
mgw
2024-01-23 10:34:49 +08:00
parent 2dfd3c9128
commit 90f8c4143e
7 changed files with 69 additions and 21 deletions

View File

@@ -7,6 +7,7 @@ from odoo.exceptions import UserError
class ReSaleOrder(models.Model):
_inherit = 'sale.order'
logistics_way = fields.Selection([('自提', '自提'), ('到付', '到付'), ('在线支付', '在线支付')], string='物流方式')
deadline_of_delivery = fields.Date('订单交期', tracking=True)
person_of_delivery = fields.Char('交货人')
telephone_of_delivery = fields.Char('交货人电话号码')