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

[FIX] sale_invoice_plan: compute amount divided by zero #11

Open
wants to merge 58 commits into
base: 16.0-MIG-sale_invoice_plan
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
a3e810c
[ADD][12.0] sale_invoice_plan
kittiu Mar 8, 2019
d99bb69
[UPD] Update sale_invoice_plan.pot
oca-travis Aug 30, 2019
1c49d34
[UPD] README.rst
OCA-git-bot Aug 30, 2019
1295037
Added translation using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
d0d684e
Translated using Weblate (Chinese (Simplified))
liweijie0812 Sep 1, 2019
ee052cf
[UPD] README.rst
OCA-git-bot Sep 5, 2019
55cd153
Added translation using Weblate (Dutch)
Oct 7, 2019
5a41b78
Translated using Weblate (Dutch)
Oct 7, 2019
762cf6c
[12.0][IMP] sale_invoice_plan improvements
kittiu Oct 16, 2019
b379b92
Added translation using Weblate (French)
Martronic-SA Feb 26, 2020
0048f87
Translated using Weblate (French)
Martronic-SA Feb 26, 2020
3e4d884
[UPD] Update sale_invoice_plan.pot
oca-travis Mar 12, 2020
bdfd1b4
sale_invoice_plan 12.0.2.0.0
OCA-git-bot Mar 12, 2020
df8ee77
Update translation files
oca-transbot Mar 12, 2020
81c5ec0
[IMP] : black, isort, prettier
kittiu Sep 3, 2020
88e590f
[13.0][MIG] sale_invoice_plan
kittiu Sep 3, 2020
9805c7b
[UPD] Update sale_invoice_plan.pot
oca-travis Oct 1, 2020
af706bb
[UPD] README.rst
OCA-git-bot Oct 1, 2020
3d35325
sale_invoice_plan 13.0.1.0.1
OCA-git-bot Oct 1, 2020
743f262
Update translation files
oca-transbot Oct 1, 2020
4145ac8
Added translation using Weblate (Spanish)
danimv5 Oct 26, 2020
190e974
Translated using Weblate (Spanish)
danimv5 Oct 26, 2020
842a05f
[FIX] sale_invoice_plan: fix development_status value in manifest
Nov 2, 2020
169dfb2
sale_invoice_plan 13.0.1.0.2
OCA-git-bot Nov 4, 2020
1133404
Update translation files
oca-transbot Nov 22, 2020
828792e
[IMP] sale_invoice_plan: black, isort, prettier
Sep 6, 2021
7e9d1d9
[MIG] sale_invoice_plan: Migration to 14.0
Sep 7, 2021
1511305
Fix _create_invoice function signature
TDu Dec 3, 2021
655382b
sale_invoice_plan 14.0.1.0.1
OCA-git-bot Dec 3, 2021
be45ada
[MIG] sale_invoice_plan: Migration to 15.0
Camille0907 Jan 18, 2022
b70c3e7
[FIX] sale_invoice_plan: fix _create_invoice to update due_date accor…
Camille0907 Jan 18, 2022
cc6fad8
[UPD] Update sale_invoice_plan.pot
Feb 18, 2022
951ed03
[UPD] README.rst
OCA-git-bot Feb 18, 2022
14a6f0f
add post install to the tests
JoanMForgeFlow May 9, 2022
ea155c1
sale_invoice_plan 15.0.1.0.1
OCA-git-bot May 9, 2022
85a7459
[IMP] sale_invoice_plan: remove dependency
gurneyalex Apr 12, 2022
5ce2362
[UPD] README.rst
OCA-git-bot May 10, 2022
0ad265f
sale_invoice_plan 15.0.1.1.0
OCA-git-bot May 10, 2022
810da3b
[14.0][FIX] sale_invoice_plan, force recompute dr/cr
kittiu May 17, 2022
05ecbff
sale_invoice_plan 15.0.1.1.1
OCA-git-bot May 17, 2022
cc04bdb
[UPD] README.rst
OCA-git-bot Jun 2, 2022
9ce8f8a
[UPD] README.rst
OCA-git-bot Jun 2, 2022
00317a6
[FIX] sale_invoice_plan: adding fully-qualified external id
cesar-tecnativa Jun 29, 2022
69366a8
sale_invoice_plan 15.0.1.2.0
OCA-git-bot Jun 29, 2022
ce45e41
[IMP] sale_invoice_plan: similar improvements introduced in `purchase…
yankinmax Jun 17, 2022
e4c2b43
[IMP] sale_invoice_plan: Error on tests
CarlosRoca13 Aug 9, 2022
1b23af0
[IMP] sale_invoice_plan: enable more than one invoice
marcelsavegnago Sep 5, 2022
2d0b6a3
[UPD] Update sale_invoice_plan.pot
Sep 5, 2022
c612726
sale_invoice_plan 15.0.1.3.0
OCA-git-bot Sep 5, 2022
87b55d0
[FIX] sale_invoice_plan: rounds the value to the rounding precision o…
marcelsavegnago Sep 3, 2022
543d451
sale_invoice_plan 15.0.1.3.1
OCA-git-bot Sep 20, 2022
42b7946
sale_invoice_plan 15.0.1.3.2
OCA-git-bot Sep 29, 2022
07ca3d9
[MIG] sale_invoice_plan: Migrate to 16.0
MS-OSI Mar 28, 2023
6ccc14f
[FIX] sale_invoice_plan: hide create invoice button
ps-tubtim Mar 8, 2023
05610a4
[FIX] sale_invoice_plan: UI fixes
dreispt Nov 23, 2023
a52b260
[FIX] sale_invoice_plan: first invoice marked all plan lines as invoiced
dreispt Nov 24, 2023
81b257b
[FIX] sale_invoice_plan: fix invoice create
Borruso Sep 21, 2023
87313b0
[FIX] sale_invoice_plan: compute amount divided by zero
Borruso Dec 7, 2023
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
131 changes: 131 additions & 0 deletions sale_invoice_plan/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
==================
Sales Invoice Plan
==================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:e65d2ca5ee4ad4e5e68e2d61d67b087fa84c66d97eb1c690d2c08ce8b36f4b23
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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%2Fsale--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/sale-workflow/tree/16.0/sale_invoice_plan
:alt: OCA/sale-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/sale-workflow-16-0/sale-workflow-16-0-sale_invoice_plan
: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/sale-workflow&target_branch=16.0
:alt: Try me on Runboat

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

By standard feature, user can gradually create partial invoices, one by one.
This module add ability to create invoices based on the predefined invoice plan,
either all at once, or one by one.
The plan support both advance invoice and installment invoices.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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

Just install this module, and the sales order will have new option "Use Invoice Plan"

Usage
=====

- Create new sales quotation as per normal process
- Select option "Use Invoice Plan", a new Invoice Plan tab will appear
- Click on "=> Create Invoice Plan" link to open invoice planning wizard
- Do plan for number of installment and/or advance, start date and interval
- Double check that each advance/installment has correct plan percentage
- After confirm sales order, now we have new option to "Create Invoice by Plan"
- User can create only next invoice, or create all the rest invoices at the same time

Changelog
=========

15.0.1.1.0 (2022-05-10)
~~~~~~~~~~~~~~~~~~~~~~~

* remove dependency on stock



12.0.1.0.0 (2019-03-08)
~~~~~~~~~~~~~~~~~~~~~~~

* Start of the history

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-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/sale-workflow/issues/new?body=module:%20sale_invoice_plan%0Aversion:%2016.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
~~~~~~~

* Ecosoft

Contributors
~~~~~~~~~~~~

* Kitti Upariphutthiphong. <[email protected]> (http://ecosoft.co.th)
* `Trobz <https://trobz.com>`_:

* Son Ho <[email protected]>

Other credits
~~~~~~~~~~~~~

The migration of this module from 13.0 to 14.0 was financially supported by Camptocamp

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.

.. |maintainer-kittiu| image:: https://github.com/kittiu.png?size=40px
:target: https://github.com/kittiu
:alt: kittiu

Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-kittiu|

This module is part of the `OCA/sale-workflow <https://github.com/OCA/sale-workflow/tree/16.0/sale_invoice_plan>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions sale_invoice_plan/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright 2019 Ecosoft Co., Ltd (http://ecosoft.co.th/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)
from . import models
from . import wizard
23 changes: 23 additions & 0 deletions sale_invoice_plan/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2019 Ecosoft Co., Ltd (http://ecosoft.co.th/)
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)

{
"name": "Sales Invoice Plan",
"summary": "Add to sales order, ability to manage future invoice plan",
"version": "16.0.1.0.0",
"author": "Ecosoft,Odoo Community Association (OCA)",
"license": "AGPL-3",
"website": "https://github.com/OCA/sale-workflow",
"category": "Sales",
"depends": ["account", "sale_management"],
"data": [
"security/ir.model.access.csv",
"data/sale_data.xml",
"wizard/sale_create_invoice_plan_view.xml",
"wizard/sale_make_planned_invoice_view.xml",
"views/sale_view.xml",
],
"installable": True,
"development_status": "Alpha",
"maintainers": ["kittiu"],
}
6 changes: 6 additions & 0 deletions sale_invoice_plan/data/sale_data.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<odoo noupdate="1">
<record id="decimal_price" model="decimal.precision" forcecreate="True">
<field name="name">Sales Invoice Plan Percent</field>
<field name="digits">6</field>
</record>
</odoo>
Loading