Search 1.9 billion lines of Odoo code on GitHub

company_unique

Author: Youring
License: no license
Branch: master
Repository: alanljj/company_unique
Dependencies: base
Languages: Markdown (9, 18.8%), PO File (16, 33.3%), and Python (23, 47.9%)
Other repositories: ccdos/company_unique, haylahi/company_unique, and youring/company_unique

<h1>company_unique</h1> <p>OpenERP 7.0 当Partner为公司时,其名称必须唯一。 而不限制联系人的名称重复(系统默认)。</p> <p>Only when partner is a company, it&#39;s name shall be unique. Otherwise, contacts(partner) can have duplicate names.</p> <p>How to disable/uninstall this module?</p> <p>Uninstall from the OpenERP interface is not enough. You have to drop constraint and index manually.</p> <p>ALTER TABLE res<em>partner DROP CONSTRAINT res</em>partner<em>name</em>is<em>company</em>unique;</p> <p>DROP INDEX res<em>partner</em>name<em>is</em>company<em>unique</em>idx;</p>