refs #6276 feat:newWarehouse #2189
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#2189
Loading…
Reference in New Issue
No description provided.
Delete Branch "6276-newWarehouse-salix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -350,0 +347,4 @@
"Cmr file does not exist": "El archivo del cmr no existe",
"You are not allowed to modify the alias": "No estás autorizado a modificar el alias",
"The address of the customer must have information about Incoterms and Customs Agent": "El consignatario del cliente debe tener informado Incoterms y Agente de aduanas",
"The line could not be marked": "The line could not be marked"
Falta la traduccion
@ -0,0 +30,4 @@
await tx.rollback();
});
xit('should add two new records', async() => {
se quedan comentados???
Si perquè falta vore el motiu que no s'ha pujat itemShelving_add que es cridat per upsertItem. Quan pugem itemShelving_add modificarem el test
@ -89,16 +89,9 @@ module.exports = Self => {
const {itemOriginalFk} = await models.Buy.findById(buyFk, {fields: ['itemOriginalFk']}, myOptions);
if (itemOriginalFk) await models.SaleBuy.create({saleFk, buyFk}, myOptions);
} catch (e) {
tiene que ser
catch(){}
finally(){ commit}
sino solo hara commit en caso de fallar
He posat el commit en el codi , finally es propaga l'error i no volem que es propague