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

[18.0][MIG] purchase_deposit: Migration to 18.0 #2468

Open
wants to merge 64 commits into
base: 18.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
a202690
[12.0][ADD] purchase_deposit
kittiu Jun 12, 2019
a3c3abc
[UPD] Update purchase_deposit.pot
oca-travis Oct 10, 2019
c3da89a
[UPD] README.rst
OCA-git-bot Oct 10, 2019
52f5cf5
[ADD] icon.png
OCA-git-bot Oct 10, 2019
449ccf5
[IMP] purchase_deposit: black, isort
kongrattapong Feb 21, 2020
dfe1f38
[MIG] purchase_deposit: Migration to 13.0
kongrattapong Feb 24, 2020
30fa496
[UPD] Update purchase_deposit.pot
oca-travis Mar 27, 2020
95f611a
[UPD] README.rst
OCA-git-bot Mar 27, 2020
8e389f1
[13.0][FIX] purchase_deposit
ps-tubtim May 14, 2020
ae577e3
purchase_deposit 13.0.1.0.1
OCA-git-bot May 29, 2020
89c684e
[UPD] Update purchase_deposit.pot
oca-travis Oct 5, 2020
0c1f4a2
[14.0][MIG] purchase_deposit
kittiu May 18, 2021
2a289b0
[UPD] Update purchase_deposit.pot
oca-travis Oct 17, 2021
34585c3
[UPD] README.rst
OCA-git-bot Oct 17, 2021
5aaf6b5
Added translation using Weblate (French)
kh-badep Dec 29, 2021
c5c7942
Translated using Weblate (French)
kh-badep Dec 29, 2021
2665344
[IMP][14.0] Purchase_deposit:added button create_deposit
JoanMForgeFlow Jan 18, 2022
85a2d3c
[UPD] Update purchase_deposit.pot
oca-travis Jan 25, 2022
f091477
[UPD] README.rst
OCA-git-bot Jan 25, 2022
af580eb
purchase_deposit 14.0.1.1.0
OCA-git-bot Jan 25, 2022
1dd990b
Update translation files
oca-transbot Jan 25, 2022
e904238
[MIG] purchase_deposit: Migration to 15.0
HviorForgeFlow Feb 11, 2022
fc73b5d
[FIX] purchase_deposit: Split create deposit invoice exception test
HviorForgeFlow Mar 16, 2022
5d50fde
[UPD] Update purchase_deposit.pot
May 2, 2022
5706e99
[UPD] README.rst
OCA-git-bot May 2, 2022
b71899e
[UPD] Update purchase_deposit.pot
Jul 17, 2022
2e6c26e
Update translation files
oca-transbot Jul 17, 2022
5ac27bf
Added translation using Weblate (Arapaho)
Jesarregui Sep 8, 2022
f461e30
Added translation using Weblate (Spanish)
Jesarregui Sep 8, 2022
fc1c354
Translated using Weblate (Spanish)
Jesarregui Sep 8, 2022
e2e87bb
Translated using Weblate (Spanish)
HaraldPanten Sep 8, 2022
913afdb
Translated using Weblate (Spanish)
Jesarregui Sep 8, 2022
c4c4f7e
[FIX] split function _prepare_advance_purchase_line for hook
newtratip Jan 10, 2022
98068cc
[FIX] send analytic_tag in deposit_val
Saran440 Feb 22, 2023
06a9b68
purchase_deposit 15.0.1.0.1
OCA-git-bot Mar 15, 2023
ffed42c
[MIG] purchase_deposit: Migration to 16.0
AungKoKoLin1997 Apr 24, 2023
7698f31
[IMP] update deposit purchase line based on account move line
AungKoKoLin1997 May 2, 2023
f8f2e14
[FIX] create deposit button
AungKoKoLin1997 Jun 7, 2023
5c1c648
[UPD] Update purchase_deposit.pot
Jun 7, 2023
21ca72e
[UPD] README.rst
OCA-git-bot Jun 7, 2023
27a550e
Update translation files
weblate Jun 7, 2023
f785a08
Translated using Weblate (Spanish)
Gelo-fl Jun 7, 2023
dcda32f
[UPD] README.rst
OCA-git-bot Sep 3, 2023
7a93284
Update translation files
weblate Oct 9, 2023
bf5f03c
purchase_deposit: fix string
alexis-via Nov 2, 2023
25fcb96
Translated using Weblate (French)
Nov 2, 2023
79b54c2
[UPD] Update purchase_deposit.pot
Nov 7, 2023
f6088a9
[BOT] post-merge updates
OCA-git-bot Nov 7, 2023
cd5ec05
Update translation files
weblate Nov 7, 2023
ad5e242
Translated using Weblate (Spanish)
Ivorra78 Nov 7, 2023
367b3ff
Added translation using Weblate (Italian)
mymage Dec 22, 2023
8823481
Translated using Weblate (Italian)
mymage Dec 22, 2023
b8bb716
Translated using Weblate (Italian)
mymage Feb 16, 2024
42bb7f8
[UPD] Update purchase_deposit.pot
Mar 5, 2024
5c8730a
Update translation files
weblate Mar 5, 2024
8b6e8f9
Translated using Weblate (Italian)
mymage Mar 5, 2024
a646127
Translated using Weblate (Spanish)
Ivorra78 Apr 18, 2024
90cdcb9
[IMP] purchase_deposit: pre-commit execution
mav-adhoc Jun 13, 2024
071cba7
[17][MIG] purchase_deposit: Migration to 17.0
mav-adhoc Jun 13, 2024
ffa0be8
[UPD] Update purchase_deposit.pot
Jul 22, 2024
ae58506
[BOT] post-merge updates
OCA-git-bot Jul 22, 2024
27c36ab
Update translation files
weblate Jul 22, 2024
51e383f
Translated using Weblate (Italian)
mymage Jul 23, 2024
5d2b421
[MIG] purchase_deposit: Migration to 18.0
lef-adhoc Nov 26, 2024
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
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:a88b100bdd6e80c43d7f8a443fcbbfe820a483f678ec8b9f0423034f2ad03645
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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,
}
260 changes: 260 additions & 0 deletions purchase_deposit/i18n/arp.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,260 @@
# 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
#, python-format
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_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
#, python-format
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:ir.model,name:purchase_deposit.model_res_config_settings
msgid "Procurement purchase grouping settings"
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
#, python-format
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
#, python-format
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
#, python-format
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
#, python-format
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
#, python-format
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
Loading