Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
fix: Select business partner search. (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
EdwinBetanc0urt authored Jan 8, 2024
1 parent 3db27cd commit c97db6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ export default {
return fieldRender
}
switch (this.metadata.reference.tableName) {
// case 'C_BPartner':
// fieldRender = () => import('@/components/ADempiere/FieldDefinition/FieldSearch/BusinessPartnerInfo')
// break
case 'C_BPartner':
fieldRender = () => import('@/components/ADempiere/FieldDefinition/FieldSearch/BusinessPartnerInfo')
break
// case 'C_Invoice':
// case 'M_Product':
// case 'A_Asset':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,12 @@ const businessPartner = {
.then(responseBusinessPartnerList => {
const recordsList = responseBusinessPartnerList.business_partners.map((record, rowIndex) => {
return {
C_BPartner_ID: record.id,
Value: record.value,
TaxID: record.tax_id,
Name: record.name,
LastName: record.last_name,
Description: record.description,
// ...record.attributes,
...record,
// datatables app attributes
Expand Down

0 comments on commit c97db6c

Please sign in to comment.