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

[IMP] stock_account: accounting date on new quants #159874

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abya-odoo
Copy link

@abya-odoo abya-odoo commented Mar 29, 2024

Before this commit:

  • When similar type of quant exists(with the same product(tracked) and location)
    with accounting date and we create a new of quant with same product and
    location accounting will not be set for newly created quant.
  • When we apply counts of multiple similar(same product (tracked) and location)
    quants of tracked product and they have different accounting dates then these
    different dates will used as accounting date (in case of automatic valuation).

After this commit:

  • When creating new quant of tracked product accounting date will we set for new
    quant if similar(same product(tracked) and location) quants exist and these
    quants have accounting date, date will be selected.
    For Example: let's say today is 10th and accounting date for different quants
    4,6,7,10, 11, empty for 6 similar quants. then 7 will be selected as
    accounting date.
  • Similarly accounting date will be selected when we apply counts of
    similar(same product and location) quants of tracked product accounting date
    will be set which will be used as accounting date in case of automatic
    valuation. So accounting date of all quants will be same.

task 3817532

@robodoo
Copy link
Contributor

robodoo commented Mar 29, 2024

@C3POdoo C3POdoo added the RD research & development, internal work label Mar 29, 2024
@abya-odoo abya-odoo force-pushed the master-stock-accounting-date-abya branch 3 times, most recently from 6f5b7f5 to 4e05f62 Compare April 4, 2024 06:31
@abya-odoo abya-odoo force-pushed the master-stock-accounting-date-abya branch from 4e05f62 to 7efbec1 Compare April 15, 2024 13:35
@abya-odoo abya-odoo force-pushed the master-stock-accounting-date-abya branch 9 times, most recently from 648b75c to 17fb7c8 Compare May 6, 2024 10:00
Before this commit:
==================
- When similar type of quant exists(with the same product(tracked) and location)
  with accounting date and we create a new of quant with same product and
  location accounting will not be set for newly created quant.
- When we apply counts of multiple similar(same product (tracked) and location)
  quants of tracked product and they have different accounting dates then these
  different dates will used as accounting date (in case of automatic valuation).

After this commit:
==================
- When creating new quant of tracked product accounting date will we set for new
  quant if similar(same product(tracked) and location) quants exist and these
  quants have accounting date, date will be selected.
  For Example: let's say today is 10th and accounting date for different quants
  4,6,7,10, 11, empty for 6 similar quants. then 7 will be selected as
  accounting date.
- Similarly accounting date will be selected when we apply counts of
  similar(same product and location) quants of tracked product accounting date
  will be set which will be used as accounting date in case of automatic
  valuation. So accounting date of all quants will be same.

task  3817532
@abya-odoo abya-odoo force-pushed the master-stock-accounting-date-abya branch from 17fb7c8 to 76b23d3 Compare May 8, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants