2667-create_entryObservation #490

Merged
joan merged 4 commits from 2667-create_entryObservation into dev 2020-12-24 08:59:36 +00:00
First-time contributor
No description provided.
Ghost added 2 commits 2020-12-23 11:34:25 +00:00
joan requested changes 2020-12-23 11:57:25 +00:00
joan left a comment
Contributor

Some changes needed

Some changes needed
@ -0,0 +3,4 @@
module.exports = Self => {
Self.rewriteDbError(function(err) {
if (err.code === 'ER_DUP_ENTRY')
return new UserError(`The observation type can't be repeated`);
Contributor

Falta la traducción de esto

Falta la traducción de esto
Ghost marked this conversation as resolved
@ -0,0 +26,4 @@
"type": "belongsTo",
"model": "Entry",
"foreignKey": "entryFk",
"required": true
Contributor

La propiedad required en las relaciones no hace nada.

La propiedad required en las relaciones no hace nada.
Ghost marked this conversation as resolved
joan requested changes 2020-12-23 12:03:02 +00:00
@ -0,0 +61,4 @@
disabled="!watcher.dataChanged()"
label="Save">
</vn-submit>
<!-- # #2680 Undo changes button bugs -->
Contributor

¿Este comentario es necesario?

¿Este comentario es necesario?
Ghost marked this conversation as resolved
Ghost added 2 commits 2020-12-23 12:33:12 +00:00
joan approved these changes 2020-12-24 08:59:00 +00:00
joan left a comment
Contributor

LGTM

LGTM
joan merged commit c192a0e125 into dev 2020-12-24 08:59:36 +00:00
joan deleted branch 2667-create_entryObservation 2020-12-24 08:59:56 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: verdnatura/salix#490
No description provided.