Skip to Content
Menu
This question has been flagged
1 Reply
3590 Views

In Odoo V12, can I import SO lines to an existing Sales Order under a chosen section? 

In a previous version where the section was entered as a SO line field and you only saw the tree structure in reports this was easy to import

Now there is a Widget, I can't figure out how to add a field to my SO lines in the excel spreadsheet to force them into the correct section.

Many thanks.

Avatar
Discard
Best Answer

Hi Mattingly,

You're right that this was possible in V11 but Odoo has since changed the feature quite a bit. In version 11 the sections where actually records in another table but now they're right just a plain text holder.
There is only one way to get the lines under specific sections and that is by setting the field 'display_type' to 'line_section' for sections and by setting a sequence number on every single sale order line in the CSV. There is no easy way to force products under specific sections unless you add custom development (or set sequences as I said).

Regards,
Yenthe

Avatar
Discard
Author

Many thanks Yenthe

It does seem like a step backwards in functionality but in my experience, this is not unusual from Odoo between versions.

I am exporting from an Access database so I can probably do something with the inserting additional lines with display type set to "line_section". It appears that the lines do actually import in the sequence within the excel spreadsheet export so would this remove the need for a sequence number field?

Kind regards,

Laurence

Yeah sadly enough it happens from time to time. I've actually made a report about this specific functionality at https://github.com/odoo/odoo/issues/38778 where Odoo S.A gave an official response.

I didn't know that Odoo kept track of the sequence itself, if that is the case you're off pretty well. Just place the sections in the right order then, which you probably structure from within Access :)

Best of luck and thanks for the accept!

Regards,

Yenthe

Author

Thanks again Yenthe - I just read your report.

Very frustrating that Odoo makes the effort to develop business-advantageous functionality and then scraps it for ease of development. It forces us to continually change our internal processes to suit Odoo's whims between releases.

Enjoy your weekend.

Best, Laurence

Related Posts Replies Views Activity
4
Mar 20
6179
2
Nov 24
127
1
Dec 24
189
0
Oct 24
103
2
May 24
2371