[19.0][ADD] sale_order_line_section#4260
Conversation
10bc92a to
b9f0288
Compare
c960e20 to
d936145
Compare
|
hi @pedrobaeza could you merge this pr please :) |
|
More than a migration script, it should be a pre-init hook for avoiding a big delay installing the module in a populated DB with lots of |
d936145 to
a4f04ae
Compare
|
@Ricardoalso @pedrobaeza pre-init hook added to create column and populate stored field values via sql |
a4f04ae to
eb6942b
Compare
|
This PR has the |
simahawk
left a comment
There was a problem hiding this comment.
I'm not sure to understand what is the purpose of this module 🤔
Is it to have a different report? To view lines grouped in a search view?
The description might benefit from real use case examples.
eb6942b to
0bba2d8
Compare
I improved the description to better explain the use case of this module |
0bba2d8 to
b069029
Compare
|
@simahawk can you please have a look. Still any blocking point ? |
| @@ -0,0 +1,15 @@ | |||
| This module adds a stored Section field on sale order lines. | |||
|
This PR has the |
|
/ocabot merge nobump |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at 38cf273. Thanks a lot for contributing to OCA. ❤️ |
This module adds a stored Section field on sale order lines.
In standard Odoo, the relation between a line and its section is only implicit:
a line belongs to the nearest previous section according to the order sequence.
This is inconvenient for domains, grouping, reporting, or custom business logic
because there is no direct field to use.
With this module, each non-section sale order line is linked to its nearest
previous section line.
Typical use cases include:
relation from the sequence;