section fix
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Joan Sanchez 2023-04-18 09:49:23 +02:00
parent 6fd5c8ae2d
commit fded7d062b
2 changed files with 4 additions and 2 deletions

View File

@ -155,5 +155,7 @@
"Warehouse inventory not set": "Almacén inventario no está establecido",
"Component cost not set": "Componente coste no está estabecido",
"Tickets with associated refunds can't be deleted. This ticket is associated with refund Nº 2": "Tickets with associated refunds can't be deleted. This ticket is associated with refund Nº 2",
"Description cannot be blank": "Description cannot be blank"
"Description cannot be blank": "Description cannot be blank",
"Added observation": "Added observation",
"Comment added to client": "Comment added to client"
}

View File

@ -34,7 +34,7 @@ module.exports = Self => {
Object.assign(myOptions, options);
for (const defaulter of defaulters) {
const user = await models.Account.findById(userId, {fields: ['name']}, myOptions);
const user = await models.VnUser.findById(userId, {fields: ['name']}, myOptions);
const body = $t('Added observation', {
user: user.name,