最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Change pos session opening date and closing in odoo using server action - Stack Overflow

programmeradmin0浏览0评论

not sure if this is a bug or something but my pos session opening and closing date is off by +9 hours. And it's messing up the accounting reports. I have checked the timezone of both containers and it's correct.

But I'd rather fix this than redoing my whole installation cause I'm not sure if a new install wont get buggy again

Is there anyway to fix this by doing server action?

I'm not very experienced at python but the general idea seems to be :

for rec in records:

    rec[start_at].datetime of the selected records

then enter the correct date manually.

Except I'm not sure how to prompt input box in server action..

发布评论

评论列表(0)

  1. 暂无评论