diff --git a/partner_contact_company_first/README.rst b/partner_contact_company_first/README.rst new file mode 100644 index 000000000..1431f7762 --- /dev/null +++ b/partner_contact_company_first/README.rst @@ -0,0 +1,75 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl + :alt: License: AGPL-3 + +============================= +partner_contact_company_first +============================= + +This module prints in qweb report addresses the company in the first line and +the name of the contact person in the next line instead of name, company + +Installation +============ + +Just install, no activation needed + +Configuration +============= + +No configuration + +Usage +===== + +Print a report with the address and see the difference. + +Known issues / Roadmap +====================== + +* No known issues + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. In case of trouble, please +check there if your issue has already been reported. If you spotted it first, +help us smash it by providing detailed and welcomed feedback. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Andreas Stauder (brain-tec AG) + +Do not contact contributors directly about support or help with technical issues. + +Funders +------- + +The development of this module has been financially supported by: + +* brain-tec AG + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit https://odoo-community.org. diff --git a/partner_contact_company_first/__init__.py b/partner_contact_company_first/__init__.py new file mode 100644 index 000000000..b9d698008 --- /dev/null +++ b/partner_contact_company_first/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + diff --git a/partner_contact_company_first/__manifest__.py b/partner_contact_company_first/__manifest__.py new file mode 100644 index 000000000..ddb0d0df4 --- /dev/null +++ b/partner_contact_company_first/__manifest__.py @@ -0,0 +1,21 @@ +# -*- coding: utf-8 -*- +# Copyright 2017 Andreas Stauder (brain-tec AG) +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). +{ + "name": "Contact Company first", + "summary": "Prints address with company in firstname and contact person " + "in the second line instead of Name, Company", + "version": "8.0.1.0.0", + "category": "Uncategorized", + "website": "https://github.com/OCA/partner-contact", + "author": "brain-tec AG, Odoo Community Association (OCA)", + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": [ + "base", + ], + "data": [ + "views/base_contact_view.xml", + ], +} diff --git a/partner_contact_company_first/static/description/icon.png b/partner_contact_company_first/static/description/icon.png new file mode 100644 index 000000000..3a0328b51 Binary files /dev/null and b/partner_contact_company_first/static/description/icon.png differ diff --git a/partner_contact_company_first/static/description/icon.svg b/partner_contact_company_first/static/description/icon.svg new file mode 100644 index 000000000..a7a26d093 --- /dev/null +++ b/partner_contact_company_first/static/description/icon.svg @@ -0,0 +1,79 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/partner_contact_company_first/static/description/index.html b/partner_contact_company_first/static/description/index.html new file mode 100644 index 000000000..ed8c13e20 --- /dev/null +++ b/partner_contact_company_first/static/description/index.html @@ -0,0 +1,82 @@ +
+
+
+

Contact company first

+

This module prints in qweb report address the company in the + first line and the name of the contact person in the next line + instead of name, company

+
+
+
+ +
+
+
+

Installation

+
+
+

Just install, no activation needed

+
+
+
+ +
+
+
+

Configuration

+
+
+

No configuration

+
+
+
+ +
+
+
+

Usage

+
+
+

Print a report with the address and see the difference.

+

For further information, please visit: +

+

+
+
+
+ +
+
+
+

Known issues / Roadmap

+
+
+

None

+
+
+
+ +
+
+
+

Credits

+
+
+

Contributors

+ +
+
+

Maintainer

+

+ This module is maintained by the OCA.
+ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
+ To contribute to this module, please visit http://odoo-community.org.
+ +

+
+
+
diff --git a/partner_contact_company_first/views/base_contact_view.xml b/partner_contact_company_first/views/base_contact_view.xml new file mode 100644 index 000000000..20b3dc3ed --- /dev/null +++ b/partner_contact_company_first/views/base_contact_view.xml @@ -0,0 +1,28 @@ + + + + + + + + Company in first line + + + + + + + +
+
+ + + + +
+
+
+ +
+