[16.0][MIG] account_sale_stock_report_non_billed
parent
c10fcb67ec
commit
934b3c47b7
|
@ -17,13 +17,13 @@ Account Sale Stock Report Non Billed
|
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github
|
||||
:target: https://github.com/OCA/account-financial-reporting/tree/15.0/account_sale_stock_report_non_billed
|
||||
:target: https://github.com/OCA/account-financial-reporting/tree/16.0/account_sale_stock_report_non_billed
|
||||
:alt: OCA/account-financial-reporting
|
||||
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
||||
:target: https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-0-account_sale_stock_report_non_billed
|
||||
:target: https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_sale_stock_report_non_billed
|
||||
: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/account-financial-reporting&target_branch=15.0
|
||||
:target: https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&target_branch=16.0
|
||||
:alt: Try me on Runboat
|
||||
|
||||
|badge1| |badge2| |badge3| |badge4| |badge5|
|
||||
|
@ -52,7 +52,7 @@ Bug Tracker
|
|||
Bugs are tracked on `GitHub Issues <https://github.com/OCA/account-financial-reporting/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/account-financial-reporting/issues/new?body=module:%20account_sale_stock_report_non_billed%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
||||
`feedback <https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_sale_stock_report_non_billed%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.
|
||||
|
||||
|
@ -94,6 +94,6 @@ Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
|
|||
|
||||
|maintainer-CarlosRoca13|
|
||||
|
||||
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/15.0/account_sale_stock_report_non_billed>`_ project on GitHub.
|
||||
This module is part of the `OCA/account-financial-reporting <https://github.com/OCA/account-financial-reporting/tree/16.0/account_sale_stock_report_non_billed>`_ project on GitHub.
|
||||
|
||||
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
{
|
||||
"name": "Account Sale Stock Report Non Billed",
|
||||
"version": "15.0.1.0.3",
|
||||
"version": "16.0.1.0.0",
|
||||
"license": "AGPL-3",
|
||||
"author": "Tecnativa, Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/account-financial-reporting",
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
|
@ -9,10 +8,11 @@
|
|||
|
||||
/*
|
||||
:Author: David Goodger (goodger@python.org)
|
||||
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
||||
:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $
|
||||
:Copyright: This stylesheet has been placed in the public domain.
|
||||
|
||||
Default cascading style sheet for the HTML output of Docutils.
|
||||
Despite the name, some widely supported CSS2 features are used.
|
||||
|
||||
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
||||
customize this style sheet.
|
||||
|
@ -275,7 +275,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
|||
margin-left: 2em ;
|
||||
margin-right: 2em }
|
||||
|
||||
pre.code .ln { color: grey; } /* line numbers */
|
||||
pre.code .ln { color: gray; } /* line numbers */
|
||||
pre.code, code { background-color: #eeeeee }
|
||||
pre.code .comment, code .comment { color: #5C6576 }
|
||||
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
||||
|
@ -301,7 +301,7 @@ span.option {
|
|||
span.pre {
|
||||
white-space: pre }
|
||||
|
||||
span.problematic {
|
||||
span.problematic, pre.problematic {
|
||||
color: red }
|
||||
|
||||
span.section-subtitle {
|
||||
|
@ -369,7 +369,7 @@ ul.auto-toc {
|
|||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:1fd2a2155b4e748c47c952397bd84472bceecc31c1d6379ea606f171564bfc89
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-reporting/tree/15.0/account_sale_stock_report_non_billed"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-reporting-15-0/account-financial-reporting-15-0-account_sale_stock_report_non_billed"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&target_branch=15.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-reporting/tree/16.0/account_sale_stock_report_non_billed"><img alt="OCA/account-financial-reporting" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--reporting-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-reporting-16-0/account-financial-reporting-16-0-account_sale_stock_report_non_billed"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-reporting&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>Module to allow list stock moves that have not being invoiced yet, by adding a wizard
|
||||
that supports show the pickings not invoiced at a specific date.</p>
|
||||
<p><strong>Table of contents</strong></p>
|
||||
|
@ -400,7 +400,7 @@ showed at the tree view.</li>
|
|||
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues">GitHub Issues</a>.
|
||||
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
|
||||
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_sale_stock_report_non_billed%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<a class="reference external" href="https://github.com/OCA/account-financial-reporting/issues/new?body=module:%20account_sale_stock_report_non_billed%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
|
||||
<p>Do not contact contributors directly about support or help with technical issues.</p>
|
||||
</div>
|
||||
<div class="section" id="credits">
|
||||
|
@ -425,13 +425,15 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
|
|||
<div class="section" id="maintainers">
|
||||
<h2><a class="toc-backref" href="#toc-entry-6">Maintainers</a></h2>
|
||||
<p>This module is maintained by the OCA.</p>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
|
||||
<a class="reference external image-reference" href="https://odoo-community.org">
|
||||
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
|
||||
</a>
|
||||
<p>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.</p>
|
||||
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
|
||||
<p><a class="reference external image-reference" href="https://github.com/CarlosRoca13"><img alt="CarlosRoca13" src="https://github.com/CarlosRoca13.png?size=40px" /></a></p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/15.0/account_sale_stock_report_non_billed">OCA/account-financial-reporting</a> project on GitHub.</p>
|
||||
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/account-financial-reporting/tree/16.0/account_sale_stock_report_non_billed">OCA/account-financial-reporting</a> project on GitHub.</p>
|
||||
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -32,7 +32,7 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in pick_1.move_lines:
|
||||
for move in pick_1.move_ids:
|
||||
self.assertIn(move.id, domain_ids)
|
||||
|
||||
def test_02_report_move_full_invoiced(self):
|
||||
|
@ -44,7 +44,7 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in pick_1.move_lines:
|
||||
for move in pick_1.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
|
||||
def test_03_report_move_partially_invoiced(self):
|
||||
|
@ -53,8 +53,8 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
lambda x: x.picking_type_code == "outgoing"
|
||||
and x.state in ("confirmed", "assigned", "partially_available")
|
||||
)
|
||||
move_done = picking.move_lines[0]
|
||||
moves_not_done = picking.move_lines[1:]
|
||||
move_done = picking.move_ids[0]
|
||||
moves_not_done = picking.move_ids[1:]
|
||||
move_done.move_line_ids.write({"qty_done": 2})
|
||||
backorder_wiz = picking.button_validate()
|
||||
backorder_wiz = Form(
|
||||
|
@ -99,7 +99,7 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in pick_1.move_lines:
|
||||
for move in pick_1.move_ids:
|
||||
self.assertIn(move.id, domain_ids)
|
||||
|
||||
def test_05_report_move_full_return_no_invoiced(self):
|
||||
|
@ -119,9 +119,9 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in picking.move_lines:
|
||||
for move in picking.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return.move_lines:
|
||||
for move in picking_return.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
|
||||
def test_06_report_move_full_return_invoiced(self):
|
||||
|
@ -143,15 +143,15 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in picking.move_lines:
|
||||
for move in picking.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return.move_lines:
|
||||
for move in picking_return.move_ids:
|
||||
self.assertIn(move.id, domain_ids)
|
||||
inv = self.so._create_invoices(final=True)
|
||||
inv.action_post()
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in picking_return.move_lines:
|
||||
for move in picking_return.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
|
||||
def test_07_move_return_return_full_invoiced(self):
|
||||
|
@ -182,11 +182,11 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in picking.move_lines:
|
||||
for move in picking.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return.move_lines:
|
||||
for move in picking_return.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return_return.move_lines:
|
||||
for move in picking_return_return.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
|
||||
def test_08_move_return_return_non_invoiced(self):
|
||||
|
@ -216,11 +216,11 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in picking.move_lines:
|
||||
for move in picking.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return.move_lines:
|
||||
for move in picking_return.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return_return.move_lines:
|
||||
for move in picking_return_return.move_ids:
|
||||
self.assertIn(move.id, domain_ids)
|
||||
|
||||
def test_09_move_invoice_return_without_update_qty(self):
|
||||
|
@ -255,11 +255,11 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in picking.move_lines:
|
||||
for move in picking.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return.move_lines:
|
||||
for move in picking_return.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
for move in picking_return_return.move_lines:
|
||||
for move in picking_return_return.move_ids:
|
||||
self.assertNotIn(move.id, domain_ids)
|
||||
|
||||
def test_10_report_move_full_invoiced_out_of_date(self):
|
||||
|
@ -277,5 +277,5 @@ class TestAccountSaleStrockReportNonBilled(TestStockPickingInvoiceLink):
|
|||
)
|
||||
action = wiz.open_at_date()
|
||||
domain_ids = action["domain"][0][2]
|
||||
for move in picking.move_lines:
|
||||
for move in picking.move_ids:
|
||||
self.assertIn(move.id, domain_ids)
|
||||
|
|
Loading…
Reference in New Issue