#4486 (Create Foreign Related Object if does NOT exist)
by Sharif Mehedi · in Developers · assigned to Sharif Mehedi
Summary
Children
Comments
- 4 years, 6 months ago by Sharif Mehedi about #4486 (Create Foreign Related Object if does NOT exist) : Test suite looks good (for the re-implementation of create_FOO_choice.) other then the issues coming from removing 'lino.modlib.system' from gfks.Plugin.needed_plugins.
- 4 years, 6 months ago by Luc Saffre about #4486 (Create Foreign Related Object if does NOT exist) : Extend the signatures of StoreField.extract_form_data(), StoreField.parse_form_value(), Chooser.create_choice() to include the action request (ar) so that the application code can test for user permissions. And maybe even a interactive confirmation() before creating the database object.
- 4 years, 6 months ago by Luc Saffre about #4486 (Create Foreign Related Object if does NOT exist) : We realized that you reinvented the wheel: This is currently done using "learning comboboxes" (defined using create_FOO_choice. To be compared.