shopinvader / pattern-import-export

Module that allows to configure a pattern file for import/export
GNU Affero General Public License v3.0
11 stars 16 forks source link

[IMP] Add domain on subpatterns and refresh domain when possible #83

Closed kevinkhao closed 2 years ago

kevinkhao commented 2 years ago

Fix applies to both tab selection and subpattern selection. Note that previously, the domain on select tab was broken (you had to save in form view to be able to choose any select tab in the UI

kevinkhao commented 2 years ago

current version of the fix is error-prone when not going through the interface

a cleaner tentative would be to redefine o2m ir.export.line field on pattern.config (instead of it being inherited from ir.exports)

Kev-Roche commented 2 years ago

@kevinkhao i would like to propose an other solution here: https://github.com/shopinvader/pattern-import-export/pull/107