Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2436 Переглядів

Project /user (group): Should be able to modify everything on a project from, until the project is moved to accepted status. Then he should only be able to modify the project lines. give me solution ......

Аватар
Відмінити
Найкраща відповідь

You need to define fields with this attribute 'states': 'date_order': fields.date('Date', required=True, readonly=True, select=True, states={'draft': [('readonly', False)], 'sent': [('readonly', False)]}) it means that date_order field will be in read only mode when state will be draft and sent. Same you can do at your end to achieve your need.

Thanks, Priyesh Solanki

Аватар
Відмінити