mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 05:40:31 +00:00
fix: remove relation bind knex.
This commit is contained in:
@@ -57,7 +57,7 @@ export default class InventoryCostLotTracker extends TenantModel {
|
||||
return {
|
||||
item: {
|
||||
relation: Model.BelongsToOneRelation,
|
||||
modelClass: this.relationBindKnex(Item.default),
|
||||
modelClass: Item.default,
|
||||
join: {
|
||||
from: 'inventory_cost_lot_tracker.itemId',
|
||||
to: 'items.id',
|
||||
|
||||
Reference in New Issue
Block a user