Skip to content

Commit

Permalink
Merge pull request #1651 from OCA/18.0
Browse files Browse the repository at this point in the history
Syncing from upstream OCA/purchase-workflow (18.0)
  • Loading branch information
bt-admin authored Jan 17, 2025
2 parents dfbe20c + d2e4276 commit 427c9c1
Show file tree
Hide file tree
Showing 30 changed files with 2,630 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ addon | version | maintainers | summary
[purchase_all_shipments](purchase_all_shipments/) | 18.0.1.0.0 | | Purchase All Shipments
[purchase_cancel_reason](purchase_cancel_reason/) | 18.0.1.0.0 | | Purchase Cancel Reason
[purchase_commercial_partner](purchase_commercial_partner/) | 18.0.1.0.0 | [![alexis-via](https://github.com/alexis-via.png?size=30px)](https://github.com/alexis-via) | Add stored related field 'Commercial Supplier' on POs
[purchase_deposit](purchase_deposit/) | 18.0.1.0.0 | | Option to create deposit from purchase order
[purchase_last_price_info](purchase_last_price_info/) | 18.0.1.0.0 | [![LoisRForgeFlow](https://github.com/LoisRForgeFlow.png?size=30px)](https://github.com/LoisRForgeFlow) | Purchase Product Last Price Info
[purchase_order_archive](purchase_order_archive/) | 18.0.1.0.0 | | Archive Purchase Orders
[purchase_order_line_menu](purchase_order_line_menu/) | 18.0.1.0.0 | | Adds Purchase Order Lines Menu
Expand Down
101 changes: 101 additions & 0 deletions purchase_deposit/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
================
Purchase Deposit
================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:c5cfa6ba5279681ee9c1ed57ead42fe860b04997ae268fcb3b485f14d8aa5800
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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-OCA%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/18.0/purchase_deposit
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-18-0/purchase-workflow-18-0-purchase_deposit
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=18.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allow purchase order to register deposit similar to that in
sales order

**Table of contents**

.. contents::
:local:

Usage
=====

When purchase order is confirmed, a new button "Register Deposit" will
appear. Normally, deposit will be used to create the 1st bill (as
deposit).

1. On confirmed purchase order, click Register Deposit button, wizard
will open
2. 2 type of deposit bill can be create 1) Down Payment (percentage) 2)
Deposit Payment (fixed amount)
3. Fill in the value and click Create bill or just create deposit.

As deposit is created, when user click button "Create Bill" again in
purchase order, the Vendor Bill will be created with deposit amount
deducted.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_deposit%0Aversion:%2018.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
-------

* Elico Corp
* Ecosoft

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

- Dominique K. <[email protected]>
- Kitti Upariphutthiphong <[email protected]>
- Rattapong Chokmasermkul <[email protected]>
- Joan Mateu <[email protected]>
- `Quartile <https://www.quartile.co>`__:

- Aung Ko Ko Lin

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/18.0/purchase_deposit>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
6 changes: 6 additions & 0 deletions purchase_deposit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Copyright 2019 Elico Corp, Dominique K. <[email protected]>
# Copyright 2019 Ecosoft Co., Ltd., Kitti U. <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

from . import models
from . import wizard
22 changes: 22 additions & 0 deletions purchase_deposit/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2019 Elico Corp, Dominique K. <[email protected]>
# Copyright 2019 Ecosoft Co., Ltd., Kitti U. <[email protected]>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html).

{
"name": "Purchase Deposit",
"version": "18.0.1.0.0",
"summary": "Option to create deposit from purchase order",
"author": "Elico Corp, Ecosoft, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/purchase-workflow",
"category": "Purchase Management",
"license": "AGPL-3",
"depends": ["purchase"],
"data": [
"security/ir.model.access.csv",
"wizard/purchase_make_invoice_advance_views.xml",
"views/res_config_settings_views.xml",
"views/purchase_view.xml",
],
"installable": True,
"auto_install": False,
}
253 changes: 253 additions & 0 deletions purchase_deposit/i18n/arp.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * purchase_deposit
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 15.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: arp\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.view_purchase_advance_payment_inv
msgid ""
"<span invisible=\"advance_payment_method != 'percentage'\" "
"class=\"oe_inline\">%</span>"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,help:purchase_deposit.field_purchase_advance_payment_inv__deposit_account_id
msgid "Account used for deposits"
msgstr ""

#. module: purchase_deposit
#. odoo-python
#: code:addons/purchase_deposit/wizard/purchase_make_invoice_advance.py:0
msgid "Advance: %s"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.view_purchase_advance_payment_inv
msgid "Cancel"
msgstr ""

#. module: purchase_deposit
#: model:ir.model,name:purchase_deposit.model_res_company
msgid "Companies"
msgstr ""

#. module: purchase_deposit
#: model:ir.model,name:purchase_deposit.model_res_config_settings
msgid "Config Settings"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.view_purchase_advance_payment_inv
msgid "Create Bill"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.view_purchase_advance_payment_inv
msgid "Create and View bills"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__create_uid
msgid "Created by"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__create_date
msgid "Created on"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,help:purchase_deposit.field_res_company__purchase_deposit_product_id
#: model:ir.model.fields,help:purchase_deposit.field_res_config_settings__purchase_deposit_product_id
msgid "Default product used for payment advances."
msgstr ""

#. module: purchase_deposit
#. odoo-python
#: code:addons/purchase_deposit/wizard/purchase_make_invoice_advance.py:0
msgid "Deposit Payment"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__amount
msgid "Deposit Payment Amount"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__purchase_deposit_product_id
msgid "Deposit Payment Product"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.res_config_settings_view_form_purchase
msgid "Deposit Payments"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields.selection,name:purchase_deposit.selection__purchase_advance_payment_inv__advance_payment_method__fixed
msgid "Deposit payment (fixed amount)"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields.selection,name:purchase_deposit.selection__purchase_advance_payment_inv__advance_payment_method__percentage
msgid "Deposit payment (percentage)"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,help:purchase_deposit.field_purchase_order_line__is_deposit
msgid ""
"Deposit payments are made when creating bills from a purchase order. They "
"are not copied when duplicating a purchase order."
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__display_name
msgid "Display Name"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__deposit_account_id
msgid "Expense Account"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__id
msgid "ID"
msgstr ""

#. module: purchase_deposit
#: model:ir.actions.act_window,name:purchase_deposit.action_view_purchase_advance_payment_inv
msgid "Invoice Order"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.view_purchase_advance_payment_inv
msgid "Invoice Purchases Order"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.view_purchase_advance_payment_inv
msgid ""
"Invoices will be created in draft so that you can review them before "
"validation."
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_order_line__is_deposit
msgid "Is a deposit payment"
msgstr ""

#. module: purchase_deposit
#: model:ir.model,name:purchase_deposit.model_account_move
msgid "Journal Entry"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__write_uid
msgid "Last Updated by"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__write_date
msgid "Last Updated on"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.res_config_settings_view_form_purchase
msgid "Product used for deposit payments"
msgstr ""

#. module: purchase_deposit
#: model:ir.model,name:purchase_deposit.model_purchase_advance_payment_inv
msgid "Purchase Advance Payment Invoice"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_res_company__purchase_deposit_product_id
#: model:ir.model.fields,field_description:purchase_deposit.field_res_config_settings__purchase_deposit_product_id
msgid "Purchase Deposit Product"
msgstr ""

#. module: purchase_deposit
#: model:ir.model,name:purchase_deposit.model_purchase_order
msgid "Purchase Order"
msgstr ""

#. module: purchase_deposit
#: model:ir.model,name:purchase_deposit.model_purchase_order_line
msgid "Purchase Order Line"
msgstr ""

#. module: purchase_deposit
#: model_terms:ir.ui.view,arch_db:purchase_deposit.view_purchase_order_form_inherit
msgid "Register Deposit"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,help:purchase_deposit.field_purchase_advance_payment_inv__deposit_taxes_id
msgid "Taxes used for deposits"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,help:purchase_deposit.field_purchase_advance_payment_inv__amount
msgid "The amount to be invoiced in advance, taxes excluded."
msgstr ""

#. module: purchase_deposit
#. odoo-python
#: code:addons/purchase_deposit/wizard/purchase_make_invoice_advance.py:0
msgid "The percentage of the deposit must be not over 100"
msgstr ""

#. module: purchase_deposit
#. odoo-python
#: code:addons/purchase_deposit/wizard/purchase_make_invoice_advance.py:0
msgid ""
"The product used to invoice a down payment should be of type \"Service\". "
"Please use another product or update this product."
msgstr ""

#. module: purchase_deposit
#. odoo-python
#: code:addons/purchase_deposit/wizard/purchase_make_invoice_advance.py:0
msgid ""
"The product used to invoice a down payment should have an invoice policy set "
"to \"Ordered quantities\". Please update your deposit product to be able to "
"create a deposit invoice."
msgstr ""

#. module: purchase_deposit
#. odoo-python
#: code:addons/purchase_deposit/wizard/purchase_make_invoice_advance.py:0
msgid "The value of the deposit must be positive."
msgstr ""

#. module: purchase_deposit
#. odoo-python
#: code:addons/purchase_deposit/wizard/purchase_make_invoice_advance.py:0
msgid ""
"There is no purchase account defined for this product: %s.\n"
"You may have to install a chart of account from Accounting app, settings "
"menu."
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__deposit_taxes_id
msgid "Vendor Taxes"
msgstr ""

#. module: purchase_deposit
#: model:ir.model.fields,field_description:purchase_deposit.field_purchase_advance_payment_inv__advance_payment_method
msgid "What do you want to invoice?"
msgstr ""
Loading

0 comments on commit 427c9c1

Please sign in to comment.