{ "info": { "author": "Grupo ESOC Ingenier\u00eda de Servicios,Tecnativa, Odoo Community Association (OCA)", "author_email": "support@odoo-community.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "License :: OSI Approved :: GNU Affero General Public License v3", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg\n :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html\n :alt: License: AGPL-3\n\n=================\nBase Import Match\n=================\n\nBy default, when importing data (like CSV import) with the ``base_import``\nmodule, Odoo follows this rule:\n\n- If you import the XMLID of a record, make an **update**.\n- If you do not, **create** a new record.\n\nThis module allows you to set additional rules to match if a given import is an\nupdate or a new record.\n\nThis is useful when you need to sync heterogeneous databases, and the field you\nuse to match records in those databases with Odoo's is not the XMLID but the\nname, VAT, email, etc.\n\nAfter installing this module, the import logic will be changed to:\n\n- If you import the XMLID of a record, make an **update**.\n- If you do not:\n\n - If there are import match rules for the model you are importing:\n\n - Discard the rules that require fields you are not importing.\n - Traverse the remaining rules one by one in order to find a match in the database.\n\n - Skip the rule if it requires a special condition that is not\n satisfied.\n - If one match is found:\n\n - Stop traversing the rest of valid rules.\n - **Update** that record.\n - If zero or multiple matches are found:\n\n - Continue with the next rule.\n - If all rules are exhausted and no single match is found:\n\n - **Create** a new record.\n - If there are no match rules for your model:\n\n - **Create** a new record.\n\nBy default 2 rules are installed for production instances:\n\n- One rule that will allow you to update companies based on their VAT, when\n ``is_company`` is ``True``.\n- One rule that will allow you to update users based on their login.\n\nIn demo instances there are more examples.\n\nConfiguration\n=============\n\nTo configure this module, you need to:\n\n#. Go to *Settings > Technical > Database Structure > Import Match*.\n#. *Create*.\n#. Choose a *Model*.\n#. Choose the *Fields* that conform an unique key in that model.\n#. If the rule must be used only for certain imported values, check\n *Conditional* and enter the **exact string** that is going to be imported\n in *Imported value*.\n\n #. Keep in mind that the match here is evaluated as a case sensitive\n **text string** always. If you enter e.g. ``True``, it will match that\n string, but will not match ``1`` or ``true``.\n#. *Save*.\n\nIn that list view, you can sort rules by drag and drop.\n\nUsage\n=====\n\nTo use this module, you need to:\n\n#. Follow steps in **Configuration** section above.\n#. Go to any list view.\n#. Press *Import* and follow the import procedure as usual.\n\n.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas\n :alt: Try me on Runbot\n :target: https://runbot.odoo-community.org/runbot/149/9.0\n\nKnown Issues / Roadmap\n======================\n\n* Add a setting to throw an error when multiple matches are found, instead of\n falling back to creation of new record.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smashing it by providing a detailed and welcomed feedback.\n\nCredits\n=======\n\nContributors\n------------\n\n* Jairo Llopis \n* Vicent Cubells \n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis module is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\nTo contribute to this module, please visit https://odoo-community.org.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://tecnativa.com", "keywords": "", "license": "AGPL-3", "maintainer": "", "maintainer_email": "", "name": "odoo9-addon-base-import-match", "package_url": "https://pypi.org/project/odoo9-addon-base-import-match/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/odoo9-addon-base-import-match/", "project_urls": { "Homepage": "https://tecnativa.com" }, "release_url": "https://pypi.org/project/odoo9-addon-base-import-match/9.0.1.0.0/", "requires_dist": [ "odoo (<9.1a,>=9.0a)" ], "requires_python": "", "summary": "Try to avoid duplicates before importing", "version": "9.0.1.0.0" }, "last_serial": 4031662, "releases": { "9.0.1.0.0": [ { "comment_text": "", "digests": { "md5": "a1890203207dbebc2dedde142717eca4", "sha256": "5df59b2e3ef0f437caa8a7416f40b2c1473c5cbe7e363fe46fa8a89578f8dea2" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "a1890203207dbebc2dedde142717eca4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 106849, "upload_time": "2017-04-11T18:10:39", "url": "https://files.pythonhosted.org/packages/5f/30/a14e1e50c92e0f14e7c28395ed4a1df339e4c3990d3302013d722f9dc1d9/odoo9_addon_base_import_match-9.0.1.0.0-py2-none-any.whl" } ], "9.0.1.0.0.99.dev1": [ { "comment_text": "", "digests": { "md5": "c4f4ec610de51976ce8471998a04d012", "sha256": "a86c94a6e4efff0ffcead35d553d77fbefdefa8d61426793cbf2139ae3f7cad7" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev1-py2-none-any.whl", "has_sig": false, "md5_digest": "c4f4ec610de51976ce8471998a04d012", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 122098, "upload_time": "2017-04-11T18:10:43", "url": "https://files.pythonhosted.org/packages/12/f6/93d37b455f8fa5e379a13cd686834e2d7a45c41579f439a3654c6c5ef163/odoo9_addon_base_import_match-9.0.1.0.0.99.dev1-py2-none-any.whl" } ], "9.0.1.0.0.99.dev10": [ { "comment_text": "", "digests": { "md5": "3400971de720039a6c33415c1883ab5e", "sha256": "8c0b90c205b53c0b0da37df50cbb9b295ed8f42e59030f9d34a426bbc52e7433" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev10-py2-none-any.whl", "has_sig": false, "md5_digest": "3400971de720039a6c33415c1883ab5e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 124854, "upload_time": "2017-05-14T04:43:45", "url": "https://files.pythonhosted.org/packages/e7/7d/0c0e93d7560281a624040e4555de8ac38a7b8228e9873c6eb8e58ca3bd50/odoo9_addon_base_import_match-9.0.1.0.0.99.dev10-py2-none-any.whl" } ], "9.0.1.0.0.99.dev11": [ { "comment_text": "", "digests": { "md5": "6c28b2f1a9dbd663864ba24f5f517425", "sha256": "2576e10d03da0f7811ea504d8eb49a9feb71d218e2419da140f6cb2238702f02" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev11-py2-none-any.whl", "has_sig": false, "md5_digest": "6c28b2f1a9dbd663864ba24f5f517425", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 126183, "upload_time": "2017-07-02T09:23:38", "url": "https://files.pythonhosted.org/packages/b9/3a/d106d3944d78e425bdc50eea705416adbc71975523832b53e7e0f5227cb8/odoo9_addon_base_import_match-9.0.1.0.0.99.dev11-py2-none-any.whl" } ], "9.0.1.0.0.99.dev12": [ { "comment_text": "", "digests": { "md5": "a6b59c663a6ef2f9cc4dcd52669d46bb", "sha256": "bc76cd49090d302e32efdb2d2a0196cd06f67d67bbc88c87526defcdadc6c36c" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev12-py2-none-any.whl", "has_sig": false, "md5_digest": "a6b59c663a6ef2f9cc4dcd52669d46bb", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 126212, "upload_time": "2017-07-14T04:30:13", "url": "https://files.pythonhosted.org/packages/98/68/df419827185f8acf022845d3ad5047893e8b7b693ace8cc46d37ecadaba9/odoo9_addon_base_import_match-9.0.1.0.0.99.dev12-py2-none-any.whl" } ], "9.0.1.0.0.99.dev13": [ { "comment_text": "", "digests": { "md5": "7ef9f4447b5895430739f85082dc480e", "sha256": "3bff035a84ad210a4aa4bba64fcc35b5267f4177d46d9684e314bc3ff24b5e37" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev13-py2-none-any.whl", "has_sig": false, "md5_digest": "7ef9f4447b5895430739f85082dc480e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 126229, "upload_time": "2017-07-30T04:33:14", "url": "https://files.pythonhosted.org/packages/2f/0d/11fcfd23a5dc80128d93abd8791f32120cb17960141498f34b1dbfd223c2/odoo9_addon_base_import_match-9.0.1.0.0.99.dev13-py2-none-any.whl" } ], "9.0.1.0.0.99.dev14": [ { "comment_text": "", "digests": { "md5": "9e39baf2479287558e6d1c9e8d21d7cf", "sha256": "46d7d50132c8296f232ba14e8def6b00e442fbff8a71513c6bc975ffcd20a4a2" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev14-py2-none-any.whl", "has_sig": false, "md5_digest": "9e39baf2479287558e6d1c9e8d21d7cf", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 126284, "upload_time": "2017-09-03T04:38:50", "url": "https://files.pythonhosted.org/packages/0d/50/2144c3ef6f9536baf0ce468493fa8ddc0af3e1ecf715d13a8c1c773321d4/odoo9_addon_base_import_match-9.0.1.0.0.99.dev14-py2-none-any.whl" } ], "9.0.1.0.0.99.dev15": [ { "comment_text": "", "digests": { "md5": "988e51174f5051367cec64f93d14857e", "sha256": "e2428bb632aa7970c9400ff718cfb92b9d5c4a03c461c31db74115a733402bb7" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev15-py2-none-any.whl", "has_sig": false, "md5_digest": "988e51174f5051367cec64f93d14857e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 127638, "upload_time": "2017-10-29T05:40:44", "url": "https://files.pythonhosted.org/packages/61/73/e57f9766021c2e715adf4136218e70a0178c113af3891ff380ac110c40c2/odoo9_addon_base_import_match-9.0.1.0.0.99.dev15-py2-none-any.whl" } ], "9.0.1.0.0.99.dev16": [ { "comment_text": "", "digests": { "md5": "4cf9925125cab23cad6c9d6f71d8b0d2", "sha256": "2a02a17b62698193fe651eea3aaeb0d5133682df39097c0dbbad5fb9cb470705" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev16-py2-none-any.whl", "has_sig": false, "md5_digest": "4cf9925125cab23cad6c9d6f71d8b0d2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 127664, "upload_time": "2018-02-09T05:30:40", "url": "https://files.pythonhosted.org/packages/86/d9/2da4fd3f32f9202e50b8943195effe520ca19a89d50158159e0f64cf7e70/odoo9_addon_base_import_match-9.0.1.0.0.99.dev16-py2-none-any.whl" } ], "9.0.1.0.0.99.dev17": [ { "comment_text": "", "digests": { "md5": "bc4aec5d24281bd9629b64103b9fec7b", "sha256": "d6ae12be8485c346fec917b763a57c1ed768acd977e6f09b7468f140ee54fc32" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev17-py2-none-any.whl", "has_sig": false, "md5_digest": "bc4aec5d24281bd9629b64103b9fec7b", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 129000, "upload_time": "2018-03-04T05:52:29", "url": "https://files.pythonhosted.org/packages/b0/4c/bfd52af9a3cd655280e0f89109f01cdc75320fee51e9f1f7100ee2c1be6a/odoo9_addon_base_import_match-9.0.1.0.0.99.dev17-py2-none-any.whl" } ], "9.0.1.0.0.99.dev18": [ { "comment_text": "", "digests": { "md5": "aba0ebb65be03d73e352d050404a98a1", "sha256": "07905663e3b32d620fee21b1d69d8c781dbfcf83603332197f5f82ef33d8d3a0" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev18-py2-none-any.whl", "has_sig": false, "md5_digest": "aba0ebb65be03d73e352d050404a98a1", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 130067, "upload_time": "2018-06-25T04:35:20", "url": "https://files.pythonhosted.org/packages/bb/f5/124ee794761ac784e48a588ef8df47d2ff7c17d472ccf017df58762bb75a/odoo9_addon_base_import_match-9.0.1.0.0.99.dev18-py2-none-any.whl" } ], "9.0.1.0.0.99.dev19": [ { "comment_text": "", "digests": { "md5": "0bcacddbdc4dd1a34dacffa544e4f482", "sha256": "57faff51196b27ba38dd0353043a7ed321e34a94ec3cb7a9aeeec203b9c2f85e" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev19-py2-none-any.whl", "has_sig": false, "md5_digest": "0bcacddbdc4dd1a34dacffa544e4f482", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": "~=2.7", "size": 130089, "upload_time": "2018-07-05T04:33:32", "url": "https://files.pythonhosted.org/packages/77/ca/cf6d82b0eb76f5c83ea227726b248813638e36cd4553e3f922f29ffb80e2/odoo9_addon_base_import_match-9.0.1.0.0.99.dev19-py2-none-any.whl" } ], "9.0.1.0.0.99.dev2": [ { "comment_text": "", "digests": { "md5": "117922452c0c2c0ad75eaa9075f6dec8", "sha256": "65838e397200a9b1dcbfa218117032a9b179a5842a1e9f7dc5863434fd1d19fb" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev2-py2-none-any.whl", "has_sig": false, "md5_digest": "117922452c0c2c0ad75eaa9075f6dec8", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 122550, "upload_time": "2017-04-11T18:10:47", "url": "https://files.pythonhosted.org/packages/2d/15/b5d141ffee0f8ddff7c8505012757c2a8598fb3e34d1f07f8337544573e9/odoo9_addon_base_import_match-9.0.1.0.0.99.dev2-py2-none-any.whl" } ], "9.0.1.0.0.99.dev3": [ { "comment_text": "", "digests": { "md5": "8db244e604cff84084ed7e6b80864c0f", "sha256": "5e9abdd3c36e4fb82f4d6ce5922af49823a9b7aaf58a9da0434d4eec2077963a" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev3-py2-none-any.whl", "has_sig": false, "md5_digest": "8db244e604cff84084ed7e6b80864c0f", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 123930, "upload_time": "2017-04-11T18:10:51", "url": "https://files.pythonhosted.org/packages/c5/83/4c13db3056cde024c2de13b4b957418277af7aa134dd6f84b267119f91d7/odoo9_addon_base_import_match-9.0.1.0.0.99.dev3-py2-none-any.whl" } ], "9.0.1.0.0.99.dev4": [ { "comment_text": "", "digests": { "md5": "38444fbd13e98272680343f57527c86c", "sha256": "e1b6d45aba78cac64f0b0ea167da6c494572a614da152310fe2046181ff5d2a1" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev4-py2-none-any.whl", "has_sig": false, "md5_digest": "38444fbd13e98272680343f57527c86c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 123964, "upload_time": "2017-04-11T18:10:56", "url": "https://files.pythonhosted.org/packages/85/b5/1f8639a05c138955a6f68047db355a6be3588e7e7f328878e5d128359e40/odoo9_addon_base_import_match-9.0.1.0.0.99.dev4-py2-none-any.whl" } ], "9.0.1.0.0.99.dev5": [ { "comment_text": "", "digests": { "md5": "8faa8197ed2498e58fc788220e7fabbe", "sha256": "edd89aa8322eaf4ba98ead875999497b9656f467a945045d49092632f67c4aef" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev5-py2-none-any.whl", "has_sig": false, "md5_digest": "8faa8197ed2498e58fc788220e7fabbe", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 123968, "upload_time": "2017-04-11T18:11:01", "url": "https://files.pythonhosted.org/packages/73/41/d2e49d459d00d88d91317c67bb4e1249a8cd0e0efb50ddb5200977a1e142/odoo9_addon_base_import_match-9.0.1.0.0.99.dev5-py2-none-any.whl" } ], "9.0.1.0.0.99.dev6": [ { "comment_text": "", "digests": { "md5": "4b24bffc66c0631dc3c8a520254a6111", "sha256": "cbce254859ba3d085296b0f6a401207adf25a0a7f14b397e22fa04f865d2d263" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev6-py2-none-any.whl", "has_sig": false, "md5_digest": "4b24bffc66c0631dc3c8a520254a6111", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 124018, "upload_time": "2017-04-11T18:11:05", "url": "https://files.pythonhosted.org/packages/ac/03/5ca167811beb2602a1384cb2cde20ff680a3764a61ebd32359d669727365/odoo9_addon_base_import_match-9.0.1.0.0.99.dev6-py2-none-any.whl" } ], "9.0.1.0.0.99.dev7": [ { "comment_text": "", "digests": { "md5": "e1d8fd5d6959f596809ca17b9af2873c", "sha256": "eff25db36c470ea52392c9ff563ad7095538d6372a3f7b0473c502e3b1eee477" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev7-py2-none-any.whl", "has_sig": false, "md5_digest": "e1d8fd5d6959f596809ca17b9af2873c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 124060, "upload_time": "2017-04-11T18:11:09", "url": "https://files.pythonhosted.org/packages/76/9b/30faebe2be765b2056b3cd65dd76526d9a81c7cd88d2a62454fe9e7a0349/odoo9_addon_base_import_match-9.0.1.0.0.99.dev7-py2-none-any.whl" } ], "9.0.1.0.0.99.dev8": [ { "comment_text": "", "digests": { "md5": "7b7f80c1824c459ce69e7ffee7addeaf", "sha256": "92dba188a59d0ee847c07a9bc80db5750302b4887c511c91272dea4412ba1899" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev8-py2-none-any.whl", "has_sig": false, "md5_digest": "7b7f80c1824c459ce69e7ffee7addeaf", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 124441, "upload_time": "2017-04-11T18:11:13", "url": "https://files.pythonhosted.org/packages/9b/ee/733cbcf7b059a5de83e5b2b11cd216585042397217c259d8656801696d57/odoo9_addon_base_import_match-9.0.1.0.0.99.dev8-py2-none-any.whl" } ], "9.0.1.0.0.99.dev9": [ { "comment_text": "", "digests": { "md5": "baecf637818fbc6fbd18365b5d931d8e", "sha256": "2d9fe6804b6d5236fc7ef1ed4ca3a2a35b90f34d5d8d56370fc0f602b63c0726" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0.99.dev9-py2-none-any.whl", "has_sig": false, "md5_digest": "baecf637818fbc6fbd18365b5d931d8e", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 124826, "upload_time": "2017-05-02T05:16:02", "url": "https://files.pythonhosted.org/packages/bb/e2/7b059faee122457d36344c6324e0a3c068ea65821443fe6ef84d53df2d21/odoo9_addon_base_import_match-9.0.1.0.0.99.dev9-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a1890203207dbebc2dedde142717eca4", "sha256": "5df59b2e3ef0f437caa8a7416f40b2c1473c5cbe7e363fe46fa8a89578f8dea2" }, "downloads": -1, "filename": "odoo9_addon_base_import_match-9.0.1.0.0-py2-none-any.whl", "has_sig": false, "md5_digest": "a1890203207dbebc2dedde142717eca4", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 106849, "upload_time": "2017-04-11T18:10:39", "url": "https://files.pythonhosted.org/packages/5f/30/a14e1e50c92e0f14e7c28395ed4a1df339e4c3990d3302013d722f9dc1d9/odoo9_addon_base_import_match-9.0.1.0.0-py2-none-any.whl" } ] }