Tryton - Issues

 

Issue3268

Title Force values in create
Priority feature Status unread
Superseder Nosy List ced, roba
Type behavior Components
Assigned To Keywords easy
Reviews

Created on 2013-06-21.23:14:21 by ced, last changed by ced.

Messages
msg13616 (view) Author: [hidden] (ced) (Tryton committer) (Tryton translator) Date: 2013-06-21.23:14:19
In many places values are forced by override of create method.
This should be optional to allow to implement a different behavior by extension.
So using this pattern should fix the issue:

value.setdefault(<field name>, <value)

Also for default in copy method.
History
Date User Action Args
2014-07-10 17:29:07cedsetkeyword: + easy
2013-06-24 13:24:35robasetnosy: + roba
2013-06-21 23:14:21cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)