3671-supplier_account #889

Merged
carlosjr merged 5 commits from 3671-supplier_account into dev 2022-03-04 08:59:38 +00:00
Member
No description provided.
alexm added the
CR / Tests passed
label 2022-03-01 10:38:03 +00:00
alexm added 2 commits 2022-03-01 10:38:04 +00:00
joan requested changes 2022-03-03 11:03:06 +00:00
@ -37,0 +38,4 @@
Self.observe('after save', async ctx => {
const options = {};
// Check for transactions
Contributor

Self explanatory code doesn't need comments

Self explanatory code doesn't need comments
alexm marked this conversation as resolved
@ -37,0 +41,4 @@
// Check for transactions
if (ctx.options && ctx.options.transaction)
options.transaction = ctx.options.transaction;
const supplier = await Self.app.models.Supplier.findById(ctx.instance.supplierFk, options);
Contributor

The "options" argument should be used as third argument as described on:
https://apidocs.loopback.io/loopback/#persistedmodel-findbyid

Second argument should be the filter object or null if not needed

The "options" argument should be used as third argument as described on: https://apidocs.loopback.io/loopback/#persistedmodel-findbyid Second argument should be the filter object or null if not needed
alexm marked this conversation as resolved
joan removed the
CR / Tests passed
label 2022-03-03 11:03:17 +00:00
alexm added 2 commits 2022-03-03 12:48:39 +00:00
alexm requested review from joan 2022-03-03 12:48:51 +00:00
carlosjr approved these changes 2022-03-04 08:39:41 +00:00
carlosjr left a comment
Contributor

LGTM

LGTM
carlosjr added 1 commit 2022-03-04 08:39:57 +00:00
gitea/salix/pipeline/head This commit looks good Details
93ab24e853
Merge branch 'dev' into 3671-supplier_account
joan approved these changes 2022-03-04 08:39:59 +00:00
carlosjr merged commit 9203c38234 into dev 2022-03-04 08:59:38 +00:00
carlosjr deleted branch 3671-supplier_account 2022-03-04 08:59:38 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 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#889
No description provided.