Skip to content

Commit

Permalink
order by date_order
Browse files Browse the repository at this point in the history
  • Loading branch information
danila12 committed Jan 4, 2024
1 parent 539bab8 commit 4952e79
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ addon | version | maintainers | summary | price
[deltatech_purchase_stock](deltatech_purchase_stock/) | 15.0.1.0.2 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Purchase Stock | Free
[deltatech_purchase_xls](deltatech_purchase_xls/) | 15.0.1.0.6 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Import/export purchase line from/to Excel | Free
[deltatech_ral](deltatech_ral/) | 15.0.1.0.0 | | RAL | Free
[deltatech_reception_note](deltatech_reception_note/) | 15.0.0.0.7 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Batch reception note | Free
[deltatech_reception_note](deltatech_reception_note/) | 15.0.0.0.8 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Batch reception note | Free
[deltatech_replenish](deltatech_replenish/) | 15.0.1.0.0 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Deltatech Replenish | Free
[deltatech_report_packaging](deltatech_report_packaging/) | 15.0.1.0.1 | [![cojocariudaniel1](https://github.com/cojocariudaniel1.png?size=30px)](https://github.com/cojocariudaniel1) [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Report Packaging | Free
[deltatech_report_prn](deltatech_report_prn/) | 15.0.1.0.3 | [![dhongu](https://github.com/dhongu.png?size=30px)](https://github.com/dhongu) | Raport PRN | Free
Expand Down
2 changes: 1 addition & 1 deletion deltatech_reception_note/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Deltatech reception_note
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aa061ee1fa81214fc3d2d4636996848b45ac1aad642d95eeff3830cc7e128810
!! source digest: sha256:a399d3dfb7730d0f50ccbadf809fd37ab782b733046b389bb65966795f0a67c1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down
2 changes: 1 addition & 1 deletion deltatech_reception_note/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "Deltatech reception_note",
"summary": "Batch reception note",
"version": "15.0.0.0.7",
"version": "15.0.0.0.8",
"author": "Terrabit, Dan Stoica",
"website": "https://www.terrabit.ro",
"support": "odoo@terrabit.ro",
Expand Down
2 changes: 1 addition & 1 deletion deltatech_reception_note/models/purchase.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def reduce_from_rfq(self):
for line in self.order_line:
quality = line.product_qty
domain = [("order_id", "in", rfq_orders.ids), ("product_id", "=", line.product_id.id)]
rfq_lines = self.env["purchase.order.line"].search(domain)
rfq_lines = self.env["purchase.order.line"].search(domain, order="date_order")

Check warning on line 49 in deltatech_reception_note/models/purchase.py

View check run for this annotation

Codecov / codecov/patch

deltatech_reception_note/models/purchase.py#L49

Added line #L49 was not covered by tests
if not rfq_lines:
raise UserError(
_("The %s product (%s) is not found in a rfq")
Expand Down
2 changes: 1 addition & 1 deletion deltatech_reception_note/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ <h1 class="title">Deltatech reception_note</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:aa061ee1fa81214fc3d2d4636996848b45ac1aad642d95eeff3830cc7e128810
!! source digest: sha256:a399d3dfb7730d0f50ccbadf809fd37ab782b733046b389bb65966795f0a67c1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<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/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/dhongu/deltatech/tree/15.0/deltatech_reception_note"><img alt="dhongu/deltatech" src="https://img.shields.io/badge/github-dhongu%2Fdeltatech-lightgray.png?logo=github" /></a></p>
<p>Features:</p>
Expand Down

0 comments on commit 4952e79

Please sign in to comment.