Merge pull request #2852 from CihanSenturk/inventory_stock_action

Inventory stock action
This commit is contained in:
Cüneyt Şentürk 2022-12-29 16:15:10 +03:00 committed by GitHub
commit 6b2fb6fefe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,6 +128,7 @@ return [
'category_type' => 'income', 'category_type' => 'income',
'transaction_type' => 'income', 'transaction_type' => 'income',
'contact_type' => 'customer', // use contact type 'contact_type' => 'customer', // use contact type
'inventory_stock_action' => 'decrease', // decrease stock in stock tracking
'transaction' => [ 'transaction' => [
'email_template' => 'invoice_payment_customer', // use email template 'email_template' => 'invoice_payment_customer', // use email template
], ],
@ -181,6 +182,7 @@ return [
'category_type' => 'income', 'category_type' => 'income',
'transaction_type' => 'income', 'transaction_type' => 'income',
'contact_type' => 'customer', // use contact type 'contact_type' => 'customer', // use contact type
'inventory_stock_action' => 'decrease', // decrease stock in stock tracking
'hide' => [], // for document items 'hide' => [], // for document items
'class' => [], 'class' => [],
'notification' => [ 'notification' => [
@ -224,6 +226,7 @@ return [
'category_type' => 'expense', 'category_type' => 'expense',
'transaction_type' => 'expense', 'transaction_type' => 'expense',
'contact_type' => 'vendor', 'contact_type' => 'vendor',
'inventory_stock_action' => 'increase', // increases stock in stock tracking
'transaction' => [ 'transaction' => [
'email_template' => 'invoice_payment_customer', // use email template 'email_template' => 'invoice_payment_customer', // use email template
], ],
@ -275,6 +278,7 @@ return [
'category_type' => 'expense', 'category_type' => 'expense',
'transaction_type' => 'expense', 'transaction_type' => 'expense',
'contact_type' => 'vendor', 'contact_type' => 'vendor',
'inventory_stock_action' => 'increase', // increases stock in stock tracking
'hide' => [], 'hide' => [],
'notification' => [ 'notification' => [