Datenbank #733

Autofill entity creator in tryton client

Added by Alexander Blum over 5 years ago. Updated over 4 years ago.

Status:NeuStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-Estimated time:1.00 h
Target version:Repertoire 3) Testing phase III

Description

Creation of objects in the tryton client is a bit tedious, as the entity creator is a required field.
It would make sense to autofill it with the current user in the xml view like that:

pyson="Eval('context', {}).get('user', -1)"

As we need the party, a function field to fetch the party from the user is needed in the user model.

History

#1 Updated by Alexander Blum about 5 years ago

  • Estimated time set to 1.00

#2 Updated by Alexander Blum over 4 years ago

  • Target version changed from 3) Testing phase III to Repertoire 3) Testing phase III

#3 Updated by Alexander Blum over 4 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF