Comments (11)
ตัวอย่างที่เคยทำในโปรเจคอื่น สำหรับกรณี Batch (อยากได้ความเห็นจากคนอื่นๆด้วย)
from l10n-thailand.
จริงๆเคสนี้น่าจะใช้งานได้อยู่แล้วใน version ใหม่ๆ เคยใช้ในโปรเจคจริงแล้วก็ใช้ได้ดี (เคยใช้ไม่ได้ใน version เก่า เช่น v8)
เลือกเป็น Internal Transfer ระบบจะให้เลือก Journal ต้นทาง กับ ปลายทาง (account ต้นทาง กับปลายทาง)
ไม่แน่ใจว่าเพียงพอไม๊ (ถ้าพอจะขอปิดเคส)
from l10n-thailand.
ปัญหาของหน้าต่าง Transfer ปัจจุบัน
- ยังไม่สามารถใส่ Fee ค่า bank charge ได้
- ทำงานได้ทีละรายการ
ข้อเสนอ หากสร้าง Addon เพิ่ม:
- Fee
- Batch Transfer
from l10n-thailand.
ควรจะเพิ่ม 2 module ใส่ใน repo : account_payment ใน OCA
- account_payment_transfer_fee -> ใช้สำหรับการบันทึกบัญชีค่าธรรมเนียม (ไม่มีกรณีที่เป็น multi?)
- account_payment_transfer_batch -> ใช้สำหรับการ transfer หลายๆ bank พร้อมกัน
from l10n-thailand.
คิดว่าไม่มีนะ multi
อีกอย่าง คือพี่อยากให้ลองดูว่าเราจะไป reuse feature ของ writeoff ปกติของ account.payment มาใช้เป็น fee ได้ไม๊ อาจแค่เปิดมันขึ้นมาก็ได้นะ (มันปิดไปถ้า payment type = internal transfer)
Note: จริงๆพี่เพิ่งเสนอ PR account_payment_multi_deduction ไป สำหรับ multi แต่คิดว่าไม่น่าต้องใช้กับกรณีนี้ครับ
OCA/account-payment#304 -> เสร็จแล้วขาดแค่ test script กรณี multi currency ว่างๆช่วยรีวิวให้ด้วยนะ :)
from l10n-thailand.
@kittiu ลองทดสอบแล้ว สามารถ reused ได้ แต่ยากนะครับ
- amount ของ payment_difference เป็น compute fields ดูค่าจาก invoice
- ต้องเลือก payment difference เป็น Mark invoice as fully paid ระบบจึงจะบันทึกบัญชีให้
มีข้อสงสัยเกี่ยวกับการบันทึกบัญชีครับ
ปกติแล้วการทำ Transfer ของระบบ Odoo จะมีการทำงานเป็นแบบ
Bank ต้นทาง -> ตัวกลาง -> Bank ปลายทาง
ถ้าต้องการโอนจาก Bank A -> B 100 บาท มีค่าธรรมเนียม 10 บาท
ระบบควรจะบันทึกบัญชีอย่างไร
จากตัวกลาง -> Bank B
ซึ่งตรงนี้ระบบควรจะบันทึกเป็น 90, 90 หรือเปล่าครับ หรือบันทึกถูกอยู่แล้ว
from l10n-thailand.
ขึ้นอยู่ว่า Deduct From จาก Bank ไหน ก็บันทึกตรงนั้น
from l10n-thailand.
จากที่เคยทำ ระบบ Odoo ปัจจุบันใช้งานได้อยู่แล้ว ค่าธรรมเนียมก็ไปทำรายการปรับปรุงเพิ่มเติม
แต่ถ้าจะทำให้ใช้งานได้สะดวกขึ้น ควรสามารถบันทึกผลต่าง การโอนระหว่างธนาคารได้มากกว่า 1 บัญชี เผื่อใช้ในกรณี โอนระหว่าง บัญชีไทยบาท กับ FCD แล้วต้องการบันทึก gain/loss exchange rate กับ bank fee
ถ้าจะเพิ่มเติม คือ สามารถ export/import ได้ สำหรับกิจการที่ต้องการทำรายการโอนระหว่างบัญชีกระแสรายวันกับออมทรัพย์ เพราะอาจมีจำนวนรายการเยอะ
Note Odoo จะบันทึกผ่านรายการพัก ฉะนั้น CoA ต้องมีบัญชีพักการโอน และเมื่อทำการโอน 1 รายการ Odoo จะสร้าง คู่บัญชี 2 คู่เสมอ
ตัวอย่างเช่น โอนจาก Bank A ไป Bank B 100
Dr Bank B 100
Cr บัญชีพัก 100
Dr บัญชีพัก 100
Cr Bank A 100
Consequence: ถ้ามีการโอนเยอะ รายงาน GL ของบัญชีพักจะเยอะมาก และมี Journal entry เยอะ
ขอความเห็น มีใครมีประสบการณ์เรื่องนี้ไหมคะ ที่ Odoo บันทึกแบบนี้รับได้ไหม
from l10n-thailand.
ลักษณะการทำงานของ การบันทึกค่าธรรมเนียมจะเป็นแบบนี้นะครับ (ไม่แน่ใจว่าควรจะบันทึก account fee กับ account ที่มีการจ่ายค่าธรรมเนียมอยู่ใน journal entry เดียวกันหรือเปล่า)
Example 1: Transfer, BANK1 -> BANK2 (fee on BANK1):
Account | Debit | Credit
=========================================================
Journal Entry 1
---------------
BANK1 | | 1000.0
BANK1 | | 10.0 --> Fee
ACCOUNT FEE | 10.0 |
TRANSFER | 1000.0 |
Journal Entry 2
---------------
TRANSFER | | 1000.0
BANK2 | 1000.0 |
Example 2: Transfer, BANK1 -> BANK2 (fee on BANK2):
Account | Debit | Credit
=========================================================
Journal Entry 1
---------------
BANK1 | | 1000.0
TRANSFER | 1000.0 |
Journal Entry 2
---------------
TRANSFER | | 1000.0
BANK2 | 1000.0 |
ACCOUNT FEE | 10.0 |
BANK2 | | 10.0 --> Fee
สามารถทดสอบได้ที่ OCA/account-payment#309
from l10n-thailand.
การโอนเงินต่างธนาคารหลายๆรายการ (Batch Transfer)
สามารถทดสอบได้ที่ OCA/account-payment#317
Note : This module depend on account_payment_fee_transfer (OCA/account-payment#309)
from l10n-thailand.
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.
from l10n-thailand.
Related Issues (20)
- การบันทึกตั้งเจ้าหนี้/ลูกหนี้ในระบบบัญชี HOT 2
- Feedback l10n_th_tax_report HOT 1
- Feedback l10n_th_tax_invoice
- Migration to version 14.0 HOT 5
- Can't install module Thai Localization - Withholding Tax (multi taxes) HOT 1
- Feedback Withholding Tax (Multi) HOT 2
- [13.0] Wrong amount on tax invoice (case undue vat for credit note) HOT 1
- l10n_th_tax_invoice version: 13.0.2.2.2 , error HOT 2
- OCR for Thai HOT 1
- Withholding Tax ERROR [field Effective date does not exist] HOT 6
- Python Library (python-stdnum) for checking Thailand numbers. HOT 4
- Migration to version 15.0 HOT 3
- Function "Clear Tax" (l10n_th_tax_invoice) HOT 4
- ต้องการออกใบกำกับภาษี สำหรับค่าบริการ HOT 2
- "l10n_th_tax_report" Not support vat 0% HOT 2
- Migration to version 16.0
- [15.0] l10n_th_account_tax - tax invoice not compute after created HOT 1
- Show Date/Time in Buddhist Era HOT 2
- Migration to version 17.0
- Please fill in tax invoice and tax date in pos HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from l10n-thailand.