Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3223][ADD] website_sale_address_name_description #247

Merged
merged 3 commits into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions setup/website_sale_address_name_description/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
54 changes: 54 additions & 0 deletions website_sale_address_name_description/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
=====================================
Website Sale Address Name Description
=====================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-qrtl%2Fmi7--custom-lightgray.png?logo=github
:target: https://github.com/qrtl/mi7-custom/tree/15.0/website_sale_address_name_description
:alt: qrtl/mi7-custom

|badge1| |badge2| |badge3|

This module does the following:

- Add the description to address form name field in eCommerce checkout.

**Table of contents**

.. contents::
:local:

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/qrtl/mi7-custom/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/qrtl/mi7-custom/issues/new?body=module:%20website_sale_address_name_description%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Quartile Limited

Maintainers
~~~~~~~~~~~

This module is part of the `qrtl/mi7-custom <https://github.com/qrtl/mi7-custom/tree/15.0/website_sale_address_name_description>`_ project on GitHub.

You are welcome to contribute.
1 change: 1 addition & 0 deletions website_sale_address_name_description/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
13 changes: 13 additions & 0 deletions website_sale_address_name_description/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2023 Quartile Limited
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
{
"name": "Website Sale Address Name Description",
"category": "Ecommerce",
"license": "AGPL-3",
"author": "Quartile Limited",
"website": "https://www.quartile.co",
"version": "15.0.1.0.0",
"depends": ["website_sale"],
"data": ["views/website_sale_address_view.xml", "views/res_company_views.xml"],
"installable": True,
}
36 changes: 36 additions & 0 deletions website_sale_address_name_description/i18n/ja.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_address_name_description
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-05 09:26+0000\n"
"PO-Revision-Date: 2023-07-05 09:26+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: website_sale_address_name_description
#: model_terms:ir.ui.view,arch_db:website_sale_address_name_description.address
msgid "<span>(Name, Company Name)</span>"
msgstr "<span>(お名前, 会社名)</span>"

#. module: website_sale_address_name_description
#: model:ir.model.fields,field_description:website_sale_address_name_description.field_res_company__address_name_text
msgid "Address Name Text"
msgstr "アドレス名称テキスト"

#. module: website_sale_address_name_description
#: model_terms:ir.ui.view,arch_db:website_sale_address_name_description.view_company_form
msgid "Adress Texts"
msgstr "アドレステキスト"

#. module: website_sale_address_name_description
#: model:ir.model,name:website_sale_address_name_description.model_res_company
msgid "Companies"
msgstr "会社"
1 change: 1 addition & 0 deletions website_sale_address_name_description/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import res_company
9 changes: 9 additions & 0 deletions website_sale_address_name_description/models/res_company.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2023 Quartile Limited

from odoo import fields, models


class ResCompany(models.Model):
_inherit = "res.company"

address_name_text = fields.Html(translate=True)
3 changes: 3 additions & 0 deletions website_sale_address_name_description/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
This module does the following:

- Add the description to address form name field in eCommerce checkout.
Loading
Loading