se cambia valor de move.post_number

This commit is contained in:
Alnus Tmp 2021-03-23 20:56:37 -05:00
parent f8c6ba2dc9
commit 7b8072470b

View file

@ -73,7 +73,8 @@ class Move(metaclass=PoolMeta):
move.number = Sequence.get_id(move.journal.sequence.id)
if not move.post_number:
move.post_date = Date.today()
move.post_number = move.period.post_move_sequence_used.get()
move.post_number = Sequence.get_id(
move.period.post_move_sequence_used.id)
def keyfunc(l):
return l.party, l.account