Git Product home page Git Product logo

Comments (11)

kittiu avatar kittiu commented on August 30, 2024 1

ตัวอย่างที่เคยทำในโปรเจคอื่น สำหรับกรณี Batch (อยากได้ความเห็นจากคนอื่นๆด้วย)

image

from l10n-thailand.

kittiu avatar kittiu commented on August 30, 2024

จริงๆเคสนี้น่าจะใช้งานได้อยู่แล้วใน version ใหม่ๆ เคยใช้ในโปรเจคจริงแล้วก็ใช้ได้ดี (เคยใช้ไม่ได้ใน version เก่า เช่น v8)

เลือกเป็น Internal Transfer ระบบจะให้เลือก Journal ต้นทาง กับ ปลายทาง (account ต้นทาง กับปลายทาง)

image

image

ไม่แน่ใจว่าเพียงพอไม๊ (ถ้าพอจะขอปิดเคส)

from l10n-thailand.

kittiu avatar kittiu commented on August 30, 2024

ปัญหาของหน้าต่าง Transfer ปัจจุบัน

  • ยังไม่สามารถใส่ Fee ค่า bank charge ได้
  • ทำงานได้ทีละรายการ

ข้อเสนอ หากสร้าง Addon เพิ่ม:

  • Fee
  • Batch Transfer

from l10n-thailand.

Saran440 avatar Saran440 commented on August 30, 2024

ควรจะเพิ่ม 2 module ใส่ใน repo : account_payment ใน OCA

  • account_payment_transfer_fee -> ใช้สำหรับการบันทึกบัญชีค่าธรรมเนียม (ไม่มีกรณีที่เป็น multi?)
  • account_payment_transfer_batch -> ใช้สำหรับการ transfer หลายๆ bank พร้อมกัน

from l10n-thailand.

kittiu avatar kittiu commented on August 30, 2024

คิดว่าไม่มีนะ 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.

Saran440 avatar Saran440 commented on August 30, 2024

@kittiu ลองทดสอบแล้ว สามารถ reused ได้ แต่ยากนะครับ

  1. amount ของ payment_difference เป็น compute fields ดูค่าจาก invoice
  2. ต้องเลือก payment difference เป็น Mark invoice as fully paid ระบบจึงจะบันทึกบัญชีให้

มีข้อสงสัยเกี่ยวกับการบันทึกบัญชีครับ
ปกติแล้วการทำ Transfer ของระบบ Odoo จะมีการทำงานเป็นแบบ
Bank ต้นทาง -> ตัวกลาง -> Bank ปลายทาง
ถ้าต้องการโอนจาก Bank A -> B 100 บาท มีค่าธรรมเนียม 10 บาท
ระบบควรจะบันทึกบัญชีอย่างไร

บันทึกจาก Bank A -> ตัวกลาง
Selection_013

จากตัวกลาง -> Bank B
Selection_014
ซึ่งตรงนี้ระบบควรจะบันทึกเป็น 90, 90 หรือเปล่าครับ หรือบันทึกถูกอยู่แล้ว

from l10n-thailand.

kittiu avatar kittiu commented on August 30, 2024

ขึ้นอยู่ว่า Deduct From จาก Bank ไหน ก็บันทึกตรงนั้น

from l10n-thailand.

wipawii avatar wipawii commented on August 30, 2024

จากที่เคยทำ ระบบ 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.

Saran440 avatar Saran440 commented on August 30, 2024

ลักษณะการทำงานของ การบันทึกค่าธรรมเนียมจะเป็นแบบนี้นะครับ (ไม่แน่ใจว่าควรจะบันทึก 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.

Saran440 avatar Saran440 commented on August 30, 2024

การโอนเงินต่างธนาคารหลายๆรายการ (Batch Transfer)
สามารถทดสอบได้ที่ OCA/account-payment#317

Note : This module depend on account_payment_fee_transfer (OCA/account-payment#309)

from l10n-thailand.

github-actions avatar github-actions commented on August 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.