Information isn't carried over from salesorder lines to the invoice

Open
#3,470 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start by locating the web_widget_product_label_section_and_note_name_visibility addon and tracing how sales order line visibility and descriptions are transferred when an invoice is created. Check the related invoice creation tests and add coverage for a line with the visibility checkmark disabled; done means the invoice report carries the intended line information.

Written by the indexing model from the issue text.

Description

module: web_widget_product_label_section_and_note_name_visibility
version: 18.0

Steps to reproduce

  • Disable the visibility Checkmark in the Salesorder. Therefore on the reports only the description will be shown
  • Create an invoice and print it

Current behavior

  • When the visibility checkmark is disabled in the Salesorder, that information isn't carried over into the invoice. So automatic creations of the invoice won't carry over that information and will include the product name.

Expected behavior

  • Carry over that information from the Salesorder-Line to the invoice.
    As the original Behaviour would just carry over the information of the description I would assume that that would be expected?
    Could be a setting as well if backwards compatibility is needed.
Dominant language
JavaScript
Stars
1.2k
Forks
2.2k
Avg merge
3d 15h
Merged PRs (30d)
30

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OCA/web

All issues in OCA/web

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.