fixed for pm key changed
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
class SaleItem < ApplicationRecord
|
||||
self.primary_key = "sale_item_id"
|
||||
|
||||
#primary key - need to be unique generated for multiple shops
|
||||
before_create :generate_custom_id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user