[Python] Change pos session opening date and closing in odoo using server action

Discussão em 'Python' iniciado por Stack, Fevereiro 21, 2025.

  1. Stack

    Stack Membro Participativo

    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..

    Continue reading...

Compartilhe esta Página