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

[ADD] account_move_stock_create: new addon #1827

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

Conversation

DiegoParadeda
Copy link

No description provided.

)
elif record.picking_ids:
continue
record.generate_picking_from_invoice()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is common to have more than one picking grouped in the same invoice...

But also more generally, I think it would be cool to have a wizard or maybe an o2m field were one could select existing pickings. If so, the module could try to match the existing stock moves with some kind of key (product_id, possibly quantity...) and simply link matched stock moves, possibly with some match flag that would visually show what was matched or not. If the line could not be matched, then it might be generated as you did...

It is indeed common that PO will generate incoming pickings that one will mostly want to match when electronic invoices are imported. With your current proposals you would need to delete manually these incoming pickings generated from the PO's and your PO will miss their delivery and invoicing status...

Bonus, it should be flexible so that it will keep working with the new PO/Bill matching system from v18.

"summary": """This addon creates stock transfers from an account move""",
"version": "14.0.1.0.0",
"license": "AGPL-3",
"author": "KMEE INFORMATICA LTDA,Odoo Community Association (OCA)",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

KMEE only plz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants