[FIX] base_import_match: importing related o2m records

The original code did improperly handle importing
related one2many records where at best all their
attribute values would get overwritten by last
of them. This was caused by mapping them only by
their first part.
This commit is contained in:
Rad0van
2022-01-18 22:38:27 +01:00
parent 0414dd0b05
commit 79bd879eb4
4 changed files with 68 additions and 21 deletions

View File

@@ -0,0 +1,4 @@
email,function,child_ids/name,child_ids/color,child_ids/email
floyd.steward34@example.com,Bug Fixer,Bart Steward,666,bart.steward@example.com
,,Lisa Steward,777,lisa.steward@example.com
,,Maggie Steward,555,maggie.steward@example.com
1 email function child_ids/name child_ids/color child_ids/email
2 floyd.steward34@example.com Bug Fixer Bart Steward 666 bart.steward@example.com
3 Lisa Steward 777 lisa.steward@example.com
4 Maggie Steward 555 maggie.steward@example.com