Giter Club home page Giter Club logo

stock-logistics-reporting's Introduction

Runboat Pre-commit Status Build Status codecov Translation Status

stock-logistics-reporting

TODO: add repo description.

Available addons

addon version maintainers summary
delivery_line_sale_line_position 16.0.1.1.0 Adds the sale line position to the delivery report lines
stock_average_daily_sale 16.0.1.0.0 Allows to gather delivered products average on daily basis
stock_card_report 16.0.1.0.0 Add stock card report on Inventory Reporting.
stock_picking_report_custom_description 16.0.1.0.0 carlosdauden Show moves description in picking reports
stock_picking_report_delivery_driver 16.0.1.0.0 Shide Delivery Driver info in Stock Picking reports
stock_picking_report_external_note 16.0.1.0.1 Shide Adds a note in Stock Picking shown on external reports like Delivery Slip
stock_picking_report_header_repeater 16.0.1.0.0 CarlosRoca13 sergio-teruel Stock Picking Report Header Repeater
stock_picking_report_incoming_delivery_address 16.0.1.0.1 EmilioPascual rafaelbn Allow show delivery address in report when picking type is incoming
stock_picking_report_internal_delivery_address 16.0.1.0.0 Show delivery address when picking type is internal
stock_picking_report_qty_undelivered 16.0.1.0.1 EmilioPascual Print a summary of the undelivered quantity
stock_picking_report_salesperson 16.0.1.0.1 Shide Salesperson info in Stock Picking reports
stock_picking_report_valued 16.0.1.1.2 Adding Valued Picking on Delivery Slip report
stock_quantity_history_location 16.0.1.0.1 luisg123v rolandojduartem Provides stock quantity by location on past date
stock_report_quantity_by_location 16.0.1.0.0 Stock Report Quantity By Location

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


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.

stock-logistics-reporting's People

Contributors

ao-landoo avatar carlosdauden avatar dsolanki-initos avatar emiliopascual avatar erik-bzcl avatar francesco-ooops avatar hviorforgeflow avatar ivantodorovich avatar ivorra78 avatar johnnypiguave avatar jordibforgeflow avatar kakurai8 avatar kranokporn avatar miguel-s73 avatar mymage avatar oca-git-bot avatar oca-transbot avatar oca-travis avatar pedrobaeza avatar pedrocasi avatar prapassorns avatar ps-tubtim avatar rousseldenis avatar sergio-teruel avatar shide avatar sofien-moalla avatar stefan-tecnativa avatar victoralmau avatar weblate avatar yvesldff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stock-logistics-reporting's Issues

[13] stock_picking_report_valued_sale_mrp ERROR on installing

Module

stock_picking_report_valued_sale_mrp

Describe the bug

When you try to install the module an error is displayed

odoo.tools.convert.ParseError: "Element 'xpath expr="//tr[@t-foreach='o.move_line_ids']" cannot be located in parent view

Error context:
View valued_report_picking
[view_id: 1206, xml_id: n/a, model: n/a, parent_id: 1204]" while parsing /mnt/data/odoo-addons-dir/stock_picking_report_valued_sale_mrp/report/stock_picking_report_valued.xml:2, near

image

To Reproduce

Affected versions: 13

Steps to reproduce the behavior:

  1. try to install

You can check it on runbot, just unistall it and try to install it again

Expected behavior
Install without issues

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

Wiki can be edited by any user

Actually, I just edited it unintentionally.
I expected to receive a warning preventing me from saving the changes, but it was not.

But, I was trying to edit the wiki because I think it can be a good system to record the evolution of module migration. Replacing the migration issues like #75

So, any non-technical user can edit / follow the evolution of the migration.

See https://github.com/OCA/stock-logistics-reporting/wiki

[11.0] stock_inventory_valuation_report: AttributeError:AttributeError: 'product.product' object has no attribute 'cost_currency_id'

When viewing report (button view report), we have this error

File ".../stock_inventory_valuation_report/reports/stock_inventory_valuation_report.py", line 61, in _compute_results
    'cost_currency_id': product.cost_currency_id,
AttributeError: 'product.product' object has no attribute 'cost_currency_id'

Error to render compiling AST
AttributeError: 'product.product' object has no attribute 'cost_currency_id'
Template: stock_inventory_valuation_report.report_stock_inventory_valuation_report_base
Path: /templates/t/div/div[2]/t[4]
Node: <t t-foreach="o.results" t-as="line">
                    <t t-call="stock_inventory_valuation_report.report_stock_inventory_valuation_lines"/>
                    <t t-set="n" t-value="n+1"/>
                    <t t-set="total" t-value="total+line.stock_value"/>
                </t>

I think it's 'cost_currency_id': product.currency_id instead of 'cost_currency_id': product.cost_currency_id

Print customer address in all pages of a stock.picking report (delivery slip)

Hello!

Anyone have solve the issue of printing the "Customer Address" in all the pages of a Delivery slip?

If you send big deliveries with many lines and the report has 5 o 20 pages you can check in the footer the pages 1/2 .... 5/20 but the name of Customer is only in the first page.

We see limitations with wkhtmltopdf.

Any idea?

Thanks!
Regards

Inventory Valuation by Location

module: stock_quantity_history_location
version: 12.0

Steps to reproduce

  • ...Under Inventory Valuation, I'm not seeing the "Location" field. It only appears under Inventory Report. I was under the impression that it should appear under both. Is there something I'm missing. Thanks.

Current behavior

Expected behavior

Print barcode of the next picking

Context

  • 3-steps delivery process
  • the pickers don't use Odoo and don't have mobile barcode scanners
  • the packers use Odoo and have USB barcode scanners

Process

  • The picker manager prints the picking wave/picking reports and hand it over to the pickers.
  • The pickers run across the warehouse with their cart and pick items
  • The picker leaves his cart with the picked items and the sheet of paper to the picker manager.
  • The picker manager reviews/checks the content and validates the picking in Odoo
  • The picker manager pushes the cart to one of the packing station

Problem

  • The packer has no quick and easy way (= scan something) to open the corresponding packing order.

Proposed solution

  • The barcode of the packing order is added on the "Picking Operations" report of the picking order.
  • The packer scans the barcode to open the packing order

[12.0] stock_inventory_valuation_report - Attribute error

When I do an inventory valuation and click on "Export PDF" or "Export XLS" it gives : AttributeError: 'product.product' object has no attribute 'cost_currency_id'
Anyone experienced with this or is there a solution?

If you need a full error, please let me know i can provide it, thank you.

Starting new translations on weblate

Hello,

could you please kindly advise how to start new translations for OCA modules?

I have registered on weblate and sent an email to transbot as per instructions, also tried contacting directly through OCA website to get permission, but the button for starting a new translation on weblate remains disabled.

Should I create a PR with the added .po translation file? Is weblate used only for existing .po files?

[12.0][BUG][stock_inventory_valuation_report]

Hi all,

I am using FIFO with automatic valuation, when I do a "Reporting" --> "Inventory valuation" choosing a specific date and click on "Export XLSX" some product missing from the report. As I see those products missing which currently at Today's date has quantity 0, however at the chosen specific date it had available quantity either 1 or more.

If using the standard button "Retreive the inventory valuation" using the same specific date as earlier, it shows correctly. Displays those products which missing from the excel report.

Valuation by Product Category

Hello, is it possible to group the inventory valuation by Product Category instead of listing all product?

On Odoo12 CE

Thanks

[15] stock_picking_client_note (or maybe stock_picking_external_note)

We need to add a text field note in stock picking to be printed in delivery slip. The development is really simple.

  • Create a new field client_note (html) in the same way note is created in core
  • Print this new field in client delivery slip

I know already all the alternatives and no one is the requirement.

Odoo has a field note for internal comments for each picking which are only printed in picking operations

We need a external one to be printed only in delivery slip and not from sale order or any other related document

We will make a PR soon.

@moduon MT-2153

Regards

Migration to version 13.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-13.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Odoo server error installing stock_picking_report_valued

Error:
Odoo Server Error

Traceback (most recent call last):
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 1036, in _validate_fields
check(self)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 330, in check_xml
view_def = view.read_combined(['arch'])
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 720, in read_combined
arch = self.apply_view_inheritance(arch_tree, root.id, self.model)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 669, in apply_view_inheritance
source = self.apply_inheritance_specs(source, specs_tree, view_id)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 647, in apply_inheritance_specs
self.raise_view_error(
("Element '%s' cannot be located in parent view") % tag, inherit_id)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 509, in raise_view_error
raise ValueError(message)
ValueError: El elemento '<xpath expr="//table[@t-if="o.move_line_ids and o.state=='done'"]/thead/tr">' no puede ser localizado en la vista padre

Contexto del error:
Vista valued_report_picking
[view_id: 1469, xml_id: n/a, model: n/a, parent_id: 428]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 744, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 722, in _tag_template
return self._tag_record(record, data_node)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 654, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_model.py", line 1487, in _update
record = record.create(values)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 398, in create
return super(View, self).create(self._compute_defaults(values))
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 3380, in create
self._fields[key].determine_inverse(record)
File "/odooc2i-dev/odooc2i-dev-server/odoo/fields.py", line 1071, in determine_inverse
getattr(records, self.inverse)()
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 266, in _inverse_arch
view.write(data)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 414, in write
return super(View, self).write(self._compute_defaults(vals))
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 3089, in write
self._write(old_vals)
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 3255, in _write
self._validate_fields(vals)
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 1040, in validate_fields
raise ValidationError("%s\n\n%s" % (
("Error while validating constraint"), tools.ustr(e)))
odoo.exceptions.ValidationError: ('Error mientras se validaban las restricciones\n\nEl elemento '<xpath expr="//table[@t-if="o.move_line_ids and o.state=='done'"]/thead/tr">' no puede ser localizado en la vista padre\n\nContexto del error:\nVista valued_report_picking\n[view_id: 1469, xml_id: n/a, model: n/a, parent_id: 428]', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/odooc2i-dev/odooc2i-dev-server/odoo/http.py", line 650, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/odooc2i-dev/odooc2i-dev-server/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/odooc2i-dev/odooc2i-dev-server/odoo/http.py", line 692, in dispatch
result = self._call_function(**self.params)
File "/odooc2i-dev/odooc2i-dev-server/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/odooc2i-dev/odooc2i-dev-server/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/odooc2i-dev/odooc2i-dev-server/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/odooc2i-dev/odooc2i-dev-server/odoo/http.py", line 936, in call
return self.method(*args, **kw)
File "/odooc2i-dev/odooc2i-dev-server/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/odooc2i-dev/odooc2i-dev-server/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/odooc2i-dev/odooc2i-dev-server/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/odooc2i-dev/odooc2i-dev-server/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/odooc2i-dev/odooc2i-dev-server/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/module/module.py", line 449, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/module/module.py", line 542, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/odooc2i-dev/odooc2i-dev-server/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/odooc2i-dev/odooc2i-dev-server/odoo/modules/loading.py", line 380, in load_modules
loaded_modules, update_module, models_to_check)
File "/odooc2i-dev/odooc2i-dev-server/odoo/modules/loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/odooc2i-dev/odooc2i-dev-server/odoo/modules/loading.py", line 181, in load_module_graph
_load_data(cr, module_name, idref, mode, kind='data')
File "/odooc2i-dev/odooc2i-dev-server/odoo/modules/loading.py", line 95, in _load_data
tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 791, in convert_file
convert_xml_import(cr, module, fp, idref, mode, noupdate, report)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 852, in convert_xml_import
obj.parse(doc.getroot(), mode=mode)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 751, in parse
exc_info[2]
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/pycompat.py", line 86, in reraise
raise value.with_traceback(tb)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 744, in parse
self._tags[rec.tag](rec, de, mode=mode)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 722, in _tag_template
return self._tag_record(record, data_node)
File "/odooc2i-dev/odooc2i-dev-server/odoo/tools/convert.py", line 654, in _tag_record
id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_model.py", line 1487, in _update
record = record.create(values)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 398, in create
return super(View, self).create(self._compute_defaults(values))
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 3380, in create
self._fields[key].determine_inverse(record)
File "/odooc2i-dev/odooc2i-dev-server/odoo/fields.py", line 1071, in determine_inverse
getattr(records, self.inverse)()
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 266, in _inverse_arch
view.write(data)
File "/odooc2i-dev/odooc2i-dev-server/odoo/addons/base/ir/ir_ui_view.py", line 414, in write
return super(View, self).write(self._compute_defaults(vals))
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 3089, in write
self._write(old_vals)
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 3255, in _write
self._validate_fields(vals)
File "/odooc2i-dev/odooc2i-dev-server/odoo/models.py", line 1040, in validate_fields
raise ValidationError("%s\n\n%s" % (
("Error while validating constraint"), tools.ustr(e)))
odoo.tools.convert.ParseError: "Error mientras se validaban las restricciones

El elemento '<xpath expr="//table[@t-if="o.move_line_ids and o.state=='done'"]/thead/tr">' no puede ser localizado en la vista padre

Contexto del error:
Vista valued_report_picking
[view_id: 1469, xml_id: n/a, model: n/a, parent_id: 428]
None" while parsing None:4, near




Qty Reserved

Unit Price

Discount

Subtotal
Taxes


































Untaxed Amount Taxes Total









error during installation of stock_account_valuation_report, Version 15

getting testcase failing error.

Module

stock_account_valuation_report

Describe the bug

DB is fresh, No other apps installed,
getting testcase failing error.

To Reproduce

Screenshot from 2022-06-22 21-31-06

15.0:

Steps to reproduce the behavior:
1.
2.
3.

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

[16.0] - [stock_picking_report_valued] - Error in valued delivery report when adding manual lines to stock picking not linked to sale order

Module

stock_picking_report_valued

Describe the bug

When adding any line manually to stock picking (so that line is not linked to the sale order in any way) the valued delivery slip report fails with error "Expected singleton: res.currency() Template: stock.stock_report_delivery_has_serial_move_line".

To Reproduce

16.0

Steps to reproduce the behavior:

  1. Login with admin user in runboat
  2. Create a sale order with 1 line
  3. Go to the stock picking associated with the sale order (truck icon), add a manual line at the end with any quantity in the done field (so that stock move line is not associated with the sale order). Confirm the picking.
  4. Confirm that the customer has the "Valued picking" check in the partner form (for example "Deco Addict").
  5. Go to Print --> Delivery Slip. The following error occurs:

Traceback (most recent call last):
File "/opt/odoo/odoo/models.py", line 5174, in ensure_one
_id, = self._ids
ValueError: not enough values to unpack (expected 1, got 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "<769>", line 562, in template_769
File "<769>", line 486, in template_769_content
File "/opt/odoo/odoo/addons/base/models/ir_qweb.py", line 2385, in _get_field
content = converter.record_to_html(record, field_name, field_options)
File "/opt/odoo/odoo/addons/base/models/ir_qweb_fields.py", line 500, in record_to_html
return super(MonetaryConverter, self).record_to_html(record, field_name, options)
File "/opt/odoo/odoo/addons/base/models/ir_qweb_fields.py", line 121, in record_to_html
return False if value is False else self.value_to_html(value, options=options)
File "/opt/odoo/odoo/addons/base/models/ir_qweb_fields.py", line 464, in value_to_html
formatted_amount = lang.format(fmt, display_currency.round(value),
File "/opt/odoo/odoo/addons/base/models/res_currency.py", line 208, in round
self.ensure_one()
File "/opt/odoo/odoo/models.py", line 5177, in ensure_one
raise ValueError("Expected singleton: %s" % self)
ValueError: Expected singleton: res.currency()

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/odoo/addons/web/controllers/report.py", line 113, in report_download
response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
File "/opt/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo-venv/lib/python3.10/site-packages/odoo/addons/report_xlsx_helper/controllers/main.py", line 52, in report_routes
return super().report_routes(reportname, docids, converter, **data)
File "/opt/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo-venv/lib/python3.10/site-packages/odoo/addons/report_xlsx/controllers/main.py", line 49, in report_routes
return super().report_routes(reportname, docids, converter, **data)
File "/opt/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/report.py", line 42, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(reportname, docids, data=data)[0]
File "/opt/odoo/addons/account/models/ir_actions_report.py", line 61, in _render_qweb_pdf
return super()._render_qweb_pdf(report_ref, res_ids=res_ids, data=data)
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 858, in _render_qweb_pdf
collected_streams = self._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/addons/account_edi_ubl_cii/models/ir_actions_report.py", line 58, in _render_qweb_pdf_prepare_streams
collected_streams = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/addons/account_edi/models/ir_actions_report.py", line 14, in _render_qweb_pdf_prepare_streams
collected_streams = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/addons/account/models/ir_actions_report.py", line 20, in _render_qweb_pdf_prepare_streams
return super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 709, in _render_qweb_pdf_prepare_streams
html = self.with_context(**additional_context)._render_qweb_html(report_ref, res_ids_wo_stream, data=data)[0]
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 907, in _render_qweb_html
return self._render_template(report.report_name, data), 'html'
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 624, in _render_template
return view_obj._render_template(template, values).encode()
File "/opt/odoo/odoo/addons/base/models/ir_ui_view.py", line 2127, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/opt/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render
return method_render(self, template, values, **options)
File "/opt/odoo/odoo/addons/base/models/ir_qweb.py", line 581, in _render
result = ''.join(rendering)
File "<773>", line 65, in template_773
File "<773>", line 52, in template_773_content
File "<768>", line 1849, in template_768
File "<768>", line 1831, in template_768_content
File "<768>", line 1814, in template_768_t_call_0
File "<768>", line 1195, in template_768_t_call_1
File "<769>", line 568, in template_769
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
ValueError: Expected singleton: res.currency()
Template: stock.stock_report_delivery_has_serial_move_line
Path: /t/t[4]/td[3]/span
Node:

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
at makeErrorFromResponse (http://oca-stock-logistics-reporting-16-0-469d732a0247.runboat.odoo-community.org/web/assets/459-d43c255/web.assets_backend.min.js:993:163)
at decoder.onload (http://oca-stock-logistics-reporting-16-0-469d732a0247.runboat.odoo-community.org/web/assets/459-d43c255/web.assets_backend.min.js:980:7)

Expected behavior
The delivery slip should be printed without error and the manually added line should have null price (or zero) in the report.

Additional context
Add any other context about the problem here. (e.g. OS, Python version, ...)

[16.0]stock_picking_report_valued report reserver units error

Module

stock_picking_report_valued

Describe the bug

Traceback (most recent call last):
File "<759>", line 1660, in template_759
File "<759>", line 1642, in template_759_content
File "<759>", line 1625, in template_759_t_call_0
File "<759>", line 506, in template_759_t_call_1
AttributeError: 'stock.picking' object has no attribute 'move_lines'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/opt/odoo/addons/web/controllers/report.py", line 113, in report_download
response = self.report_routes(reportname, docids=docids, converter=converter, context=context)
File "/opt/odoo/odoo/http.py", line 697, in route_wrapper
result = endpoint(self, *args, **params_ok)
File "/opt/odoo/addons/web/controllers/report.py", line 42, in report_routes
pdf = report.with_context(context)._render_qweb_pdf(reportname, docids, data=data)[0]
File "/opt/odoo/addons/account/models/ir_actions_report.py", line 57, in _render_qweb_pdf
return super()._render_qweb_pdf(report_ref, res_ids=res_ids, data=data)
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 807, in _render_qweb_pdf
collected_streams = self._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/addons/account_edi_ubl_cii/models/ir_actions_report.py", line 58, in _render_qweb_pdf_prepare_streams
collected_streams = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/addons/account_edi/models/ir_actions_report.py", line 14, in _render_qweb_pdf_prepare_streams
collected_streams = super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/addons/account/models/ir_actions_report.py", line 20, in _render_qweb_pdf_prepare_streams
return super()._render_qweb_pdf_prepare_streams(report_ref, data, res_ids=res_ids)
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 708, in _render_qweb_pdf_prepare_streams
html = self.with_context(**additional_context)._render_qweb_html(report_ref, res_ids_wo_stream, data=data)[0]
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 884, in _render_qweb_html
return self._render_template(report.report_name, data), 'html'
File "/opt/odoo/odoo/addons/base/models/ir_actions_report.py", line 623, in _render_template
return view_obj._render_template(template, values).encode()
File "/opt/odoo/odoo/addons/base/models/ir_ui_view.py", line 2128, in _render_template
return self.env['ir.qweb']._render(template, values)
File "/opt/odoo/odoo/tools/profiler.py", line 292, in _tracked_method_render
return method_render(self, template, values, **options)
File "/opt/odoo/odoo/addons/base/models/ir_qweb.py", line 580, in _render
result = ''.join(rendering)
File "<764>", line 65, in template_764
File "<764>", line 52, in template_764_content
File "<759>", line 1666, in template_759
odoo.addons.base.models.ir_qweb.QWebException: Error while render the template
AttributeError: 'stock.picking' object has no attribute 'move_lines'
Template: stock.report_delivery_document
Path: /t/t/t/div/table[1]/thead/tr/th[1]
Node:

The above server error caused the following client error:
RPC_ERROR: Odoo Server Error
RPCError@http://oca-stock-logistics-reporting-16-0-c13047c88ed4.runboat.odoo-community.org/web/assets/466-d4393d1/web.assets_backend.min.js:969:274
makeErrorFromResponse@http://oca-stock-logistics-reporting-16-0-c13047c88ed4.runboat.odoo-community.org/web/assets/466-d4393d1/web.assets_backend.min.js:973:163
download._download/</xhr.onload/decoder.onload@http://oca-stock-logistics-reporting-16-0-c13047c88ed4.runboat.odoo-community.org/web/assets/466-d4393d1/web.assets_backend.min.js:961:7

Steps to reproduce the behavior:

  1. Picking valued with reserved quantity
  2. Go to Print > Delivery Slip
  3. Error

Expected behavior
To can print a Delivery Slip with the reserved quantity

@moduon
MT-3021

Migration to version 16.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-16.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Migration to version 14.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-14.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

[11.0] stock_inventory_valuation_report: ParseError when installing

When i install module stock_inventory_valuation_report, i have this error:

ParseError: "External ID not found in the system: stock_account.view_stock_quantity_history" while parsing .../stock_inventory_valuation_report/wizard/stock_quantity_history_view.xml:3, near

<record id="view_stock_quantity_history_inherit" model="ir.ui.view">
        <field name="name">view_stock_quantity_history_inherit</field>
        <field name="model">stock.quantity.history</field>
        <field name="inherit_id" ref="stock_account.view_stock_quantity_history"/>
        <field name="arch" type="xml">
            <xpath expr="//button[@name='open_table']" position="after">
                <button name="button_export_html" string="View report" type="object"/>
                <button name="button_export_pdf" string="Export PDF" type="object"/>
                <button name="button_export_xlsx" string="Export XLSX" type="object"/>
            </xpath>
        </field>
    </record>

[12.0] stock_account_valuation_report incorrect quantity

The quantities column added by module stock_account_valuation_report takes the sum of quantity in account move lines, this results in an incorrect quantity when products are used in manufacturing orders since all quantities are positive.

Wanted to make a demo video but runbot doesn't seem to work?

stock_picking_report_valued: do not compute discount in valued picking

Is your feature request related to a problem?
The valued picking is often used during the export of goods to another country, and it is aimed to show the value of goods being delivered. However, if the picking is related with an order which is free of charge, then the value is 0.
Customs expects to value the goods sent based on the market price of the product. They still need to apply customs to a product that is sold free of charge.

Describe the solution you'd like
I would like to have a setting to decide if the discount should be considered in the valued picking.

@victoralmau @sergio-teruel Have you come across this use case?

[13.0] stock wrong when select child location in stock_quantity_history_location

Module

stock_quantity_history_location

Describe the bug

The Inventory at date report is working for only parent locations, For the most child locations the report showing wrong qty for past date.

To Reproduce

Affected versions: 13.0

Steps to reproduce the behavior:

  1. Add stock in WH/stock/Shelf 1 for any stockable product [Ex Date:01/01/2022 ]
  2. create a Delivery order on [Ex Date: 05/01/2022] and done that.
    3.Now check inventory at Date report with WH/Stock location selected & WH/Stock/Shelf 1 selected with date: 01/01/2022

Expected behavior
On WH/Stock it will display correct qty for past date & for same date it will show wrong qty on Shelf 1 location, it should be display same qty for both the locations.

Getting error while downloading the excel report

getting error while downloading the excel report

Module

stock_card_report

Describe the bug

while downloading the excel getting error

To Reproduce

odoo CE 14.0

Steps to reproduce the behavior:

  1. after pulling data click on the download button

Expected behavior
need that data in excel.

Additional context
ubunutu 18.04

Stock Kardex Report Not Compatible with Latest version.

Hi,

I found this report not compatible with the newer version of Odoo. Please help to update the new version. so everyone can use it for the newer version. i try to update on v14 odoo it's becoming failed in odoo.sh. please help me to check.

Thanks Regards
Pubalan

Stock Card / Bin Card - Report in PDF and Excel

Hi, we are looking into developing the stock_card_report in pdf and excel, which should be similar to this one,

https://apps.odoo.com/apps/modules/12.0/hyd_stock_card/

Search criteria:

  • Start date
  • End date
  • Products
  • Warehouse / Location

The result should show product one by one, with result -> Initial Balance, In, Out, End Balance

May I check whether some work has been developed in OCA, and/or should I develop it (i.e., stock_card_report)

@ps-tubtim

Migration to version 17.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-17.0

Modules to migrate

Removed:

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Migration to version 15.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-15.0

Modules to migrate

Missing module? Check https://github.com/OCA/maintainer-tools/wiki/%5BFAQ%5D-Missing-modules-in-migration-issue-list

Migration to version 12.0

Todo

https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-12.0

Modules to migrate

[12.0] [FIX] Tax Rounding in stock_picking_report_valued

To replicate this issue:

1 - Set the Round globally option (Invoicing settings) and allow discounts (sale settings)

2- Create the next quotation
image

3 - Confirm the quotation and check the differences in the quotation, invoice and the Delivery Slip report
image

Stock Picking Report Valued and MRP Kit.

If you have installed MRP and use a product with build of materials as kit, when you sale it, the pickig report valued get wrong data, get the product of components quantityt by proudct price.

S00023 - Odoo

Delivery Slip - Deco Addict - WH_OUT_00013 (2) pdf

Module

  • stock_picking_report_valued
  • mrp

To Reproduce

All versions:

Sell demo product FURN_78236, confirm sale order, confirm delivery and print delivery slip.

Stock Valuation Report in PDF / Excel

Hello,
We would like to imitate the current stock valuation report in Odoo to also print PDF (qweb) and Excel report (report_xlsx).
Just a normal check here whether it will be ok here, and not already been developed.
Thank you.

Note: we plan to make it new addon, i.e., stock_inventory_valuation_report

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.