Issue 9970

Title
Make public _domain_column, _domain_value and _domain_add_null from Field
Priority
feature
Status
unread
Nosy list
ced
Assigned to
Keywords
easy

Created on 2020-12-29.14:13:32 by ced, last changed 4 months ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2020-12-29.14:13:31

Those methods are already used in modules:

$ ack _domain_value modules/
modules/bank/bank.py
108:            expression = Operator(column, field._domain_value(operator, value))

modules/product_cost_fifo/move.py
54:        expression = Operator(column, field._domain_value(operator, value))

modules/sale_subscription/subscription.py
729:        expression = Operator(column, field._domain_value(operator, value))

And they are useful to implement a domain_<field> method.

History
Date User Action Args
2020-12-29 14:13:32cedcreate

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