Sale order line sequence FIX

by
Odoo
v 11.0 v 12.0 Third Party 213
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 11
Technical Name sale_order_line_fix
LicenseAGPL-3
Versions 12.0 11.0
You bought this module and need support? Click here!

Sale order line sequence fix

Modification of default sequence of new sale order line.

Default behaviour:

Each new sale order line is recorded with the default sequence (ex. 10). Ordering of lines in sale order form then is done by sequence, id. When any sale order line is moved to another position, every existing line's sequence is rewriting to preserve the current order. Adding a new line, as a next step, records it with default sequence (ex. 10), pushing it right after the first existing line. If added lines are multiple, then reordering by hand so they are positioned in the end is a time consuming.

New behaviour:

Each sale order line is recorded with sequential sequence. There won't be any default sequence. Each new line receive a sequence resulting from last existing one. This way adding lines leaves them always at the bottom of the list.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.