Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3157 มุมมอง

please , How to update journal items when I create new invoice from order sale , .  But when I create the invoice from accounting model it works perfect and show the linesof my new field tax in the journal items . 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

so what problem? you create inv from so, what is missed?

อวตาร
ละทิ้ง
ผู้เขียน

First I develop a new model ( custom stamp tax) . And it work without problem when I create inv from accountig model .
But the problem is when i want to create the inv from S.O the line of my custom stamp tax dont appear in journal items lines..(entry) .. but if i change the date of inv the line of my custom stamp tax appear and work very well ..
I want to show this line auto ... please help me

so you need to start from this :)
custom module. what and how it impact? what means custom stamp from odoo side? tax id or what? where it comes if you create from accounting?

ผู้เขียน

Its just a monetary field his name is Stamp_tax calculate : he is working like this => if customer has a stamp_tax then in invoice => total amount =total amount +stamp_tax value ... so here I _inherit from account move ..and when i create invoice in accounting model everything works perfect . The problem is when i create invoice from sale order in the invoice lines in journal dont appear this stamp_tax . And when I change anything in invoice like change date of invoice or anything the line of stamp_tax work .

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 22
4257
1
ก.ค. 22
1997
0
พ.ย. 23
1120
2
ก.ค. 23
3437
Group by on related field แก้ไขแล้ว
1
พ.ค. 23
4222