Skip to content
Closed
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
77 changes: 77 additions & 0 deletions website_sale_installment_plans/README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< 258b45b0798d4d7fb26bc4b4394bdc5514b27a41
.. |company| replace:: ADHOC SA

.. |company_logo| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-logo.png
Expand Down Expand Up @@ -71,3 +72,79 @@ Maintainer
This module is maintained by the |company|.

To contribute to this module, please visit https://www.adhoc.com.ar.
||||||| fcf872691914acfba6a243203fc2e50621123288
=======
.. |company| replace:: ADHOC SA

.. |company_logo| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-logo.png
:alt: ADHOC SA
:target: https://www.adhoc.com.ar

.. |icon| image:: https://raw.githubusercontent.com/ingadhoc/maintainer-tools/master/resources/adhoc-icon.png

.. image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: https://www.gnu.org/licenses/agpl
:alt: License: AGPL-3

==============================
Website Sale Installment Plans
==============================

This module adds a feature in card installment to show installment plans on the website.

Installation
============

To install this module, you need to:

#. Just install ...

Configuration
=============

To configure this module, you need to:

#. Go to Card installment.
#. Choose a Card installment plan.
#. Set the installment plan to be shown on the website.

Usage
=====

To use this module, you need to:


.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: http://runbot.adhoc.com.ar/

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

Bugs are tracked on `GitHub Issues
<https://github.com/ingadhoc/website/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.

Credits
=======

Images
------

.. image:: https://github.com/ingadhoc/website/raw/16.0/website_sale_installment_plans/static/description/feature_img.png

* |company| |icon|

Contributors
------------

Maintainer
----------

|company_logo|

This module is maintained by the |company|.

To contribute to this module, please visit https://www.adhoc.com.ar.
>>>>>>> c5b91d2928af8bd4ec993630cae91d90362a3ae2
22 changes: 22 additions & 0 deletions website_sale_installment_plans/__manifest__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< 258b45b0798d4d7fb26bc4b4394bdc5514b27a41
{
"name": "Website Sale Installment Plan",
"category": "Website/Website",
Expand All @@ -16,3 +17,24 @@
],
"installable": True,
}
||||||| fcf872691914acfba6a243203fc2e50621123288
=======
{
"name": "Website Sale Installment Plan",
"category": "Website/Website",
"version": "17.0.1.0.0",
"author": "ADHOC SA",
"website": "www.adhoc.com.ar",
"license": "AGPL-3",
"depends": [
"product",
"website_sale",
"card_installment",
],
"data": [
"views/account_card_installment_views.xml",
"views/website_templates.xml",
],
"installable": True,
}
>>>>>>> c5b91d2928af8bd4ec993630cae91d90362a3ae2
74 changes: 74 additions & 0 deletions website_sale_installment_plans/i18n/es.po
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< 258b45b0798d4d7fb26bc4b4394bdc5514b27a41
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_installment_plans
Expand Down Expand Up @@ -68,3 +69,76 @@ msgstr "URL del Sitio Web"
#: model:ir.model,name:website_sale_installment_plans.model_account_card_installment
msgid "amount to add for collection in installments"
msgstr "CCantidad a añadir para cobro en cuotas"
||||||| fcf872691914acfba6a243203fc2e50621123288
=======
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_sale_installment_plans
#
# Translators:
# Juan José Scarafía <scarafia.juanjose@gmail.com>, 2025
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2025-08-20 21:21+0000\n"
"PO-Revision-Date: 2025-08-20 21:21+0000\n"
"Last-Translator: Juan José Scarafía <scarafia.juanjose@gmail.com>, 2025\n"
"Language-Team: Spanish (https://app.transifex.com/adhoc/teams/46451/es/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Language: es\n"
"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"

#. module: website_sale_installment_plans
#: model:ir.model.fields,field_description:website_sale_installment_plans.field_account_card_installment__can_publish
msgid "Can Publish"
msgstr ""

#. module: website_sale_installment_plans
#: model:ir.model.fields,field_description:website_sale_installment_plans.field_account_card_installment__is_published
msgid "Is Published"
msgstr "Publicado"

#. module: website_sale_installment_plans
#: model:ir.model.fields,help:website_sale_installment_plans.field_account_card_installment__message
msgid "Mensaje que se muestra al final de la leyenda de cuotas"
msgstr "Message shown at the end of installments text"

#. module: website_sale_installment_plans
#: model:ir.model.fields,field_description:website_sale_installment_plans.field_account_card_installment__message
msgid "Message"
msgstr "Mensaje"

#. module: website_sale_installment_plans
#: model:ir.model,name:website_sale_installment_plans.model_product_template
msgid "Product"
msgstr "Producto"

#. module: website_sale_installment_plans
#: model_terms:ir.ui.view,arch_db:website_sale_installment_plans.account_card_form_installment_plan
msgid "Published in website"
msgstr "Publicado en website"

#. module: website_sale_installment_plans
#: model:ir.model.fields,help:website_sale_installment_plans.field_account_card_installment__website_url
msgid "The full URL to access the document through the website."
msgstr "URL completa para acceder al documento a través del sitio web"

#. module: website_sale_installment_plans
#: model:ir.model.fields,field_description:website_sale_installment_plans.field_account_card_installment__website_published
msgid "Visible on current website"
msgstr "Visible en el website actual"

#. module: website_sale_installment_plans
#: model:ir.model.fields,field_description:website_sale_installment_plans.field_account_card_installment__website_url
msgid "Website URL"
msgstr "URL del Sitio Web"

#. module: website_sale_installment_plans
#: model:ir.model,name:website_sale_installment_plans.model_account_card_installment
msgid "amount to add for collection in installments"
msgstr "Cantidad a añadir para cobro en cuotas"
>>>>>>> c5b91d2928af8bd4ec993630cae91d90362a3ae2
43 changes: 43 additions & 0 deletions website_sale_installment_plans/views/website_templates.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<<<<<<< 258b45b0798d4d7fb26bc4b4394bdc5514b27a41
<?xml version="1.0"?>
<data>
<template id="product_page_card_installment_plan" inherit_id="website_sale.product_price">
Expand Down Expand Up @@ -37,3 +38,45 @@
</xpath>
</template>
</data>
||||||| fcf872691914acfba6a243203fc2e50621123288
=======
<?xml version="1.0"?>
<data>
<template id="product_page_card_installment_plan" inherit_id="website_sale.product_price">
<xpath expr="//div[@id='product_unavailable']" position="before">
<div class="installment-plans">
<t t-foreach="combination_info.get('installment_plans', [])" t-as="installment">
<p style="font-size: 12px; color: #666; margin: 5px 0;">
<i class="fa fa-credit-card" aria-hidden="true" style="color:#000000;font-size:14px;margin-right:5px;"/>
<span style="color: black; font-weight: bold;">
<span t-esc="installment['description']"/>
</span>
<span t-if="installment['message']" style="font-size: 11px; color: #999; margin-left: 5px;">
<span t-esc="installment['message']"/>
</span>
</p>
</t>
</div>
</xpath>
</template>

<template id="product_template_products_item_installment_plan" inherit_id="website_sale.products_item">
<xpath expr="//span[@t-esc='website.currency_id.name']" position="after">
<div class="installment-plans">
<t t-set="cuotas" t-value="product._get_card_installments_for_shop(template_price_vals.get('price_reduce', []))"/>
<t t-foreach="cuotas" t-as="installment">
<p style="font-size: 12px; color: #666; margin: 5px 0;">
<i class="fa fa-credit-card" aria-hidden="true" style="color:#000000;font-size:14px;margin-right:5px;"/>
<span style="color: black; font-weight: bold;">
<span t-esc="installment['description']"/>
</span>
<span t-if="installment['message']" style="font-size: 11px; color: #999; margin-left: 5px;">
<span t-esc="installment['message']"/>
</span>
</p>
</t>
</div>
</xpath>
</template>
</data>
>>>>>>> c5b91d2928af8bd4ec993630cae91d90362a3ae2
Loading