How to define default field value from another field (from another model)?

前端 未结 0 476
有刺的猬
有刺的猬 2020-12-10 04:28

I have a model with 2 fields. This is a wizard.

class SalaryEquivalence(models.TransientModel):
    _name = \'wizard.salary.equivalence\'

    salary_type = f         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题