se cambia valor de move.post_number
This commit is contained in:
parent
f8c6ba2dc9
commit
7b8072470b
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue