Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • Tryton Tryton
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 790
    • Issues 790
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 77
    • Merge requests 77
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Tryton
  • TrytonTryton
  • Issues
  • #9970
Closed
Open
Created Dec 29, 2020 by Cédric Krier@cedOwner

Make public _domain_column, _domain_value and _domain_add_null from Field

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.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking