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

[WIP] replenishment cost based on purchases #12

Closed
wants to merge 2 commits into from

Conversation

clonedagain
Copy link

The first commit hacks it's way around the limitations related to function fields and _inherit.
This is still work in progress, it seems to work but automatic tests are not finished yes.
Early opinons about this feature are welcome however.

@clonedagain clonedagain force-pushed the 7.0-cost-purchase branch 16 times, most recently from afb10ee to e77355a Compare November 20, 2014 11:03
@clonedagain clonedagain changed the title [WIP] replenishment cost based from purchases [WIP] replenishment cost based on purchases Nov 20, 2014
@clonedagain clonedagain force-pushed the 7.0-cost-purchase branch 2 times, most recently from 877317f to f889578 Compare November 24, 2014 08:40
'author': 'Camptocamp',
'maintainer': 'Camptocamp',
'category': 'Products',
'complexity': "normal", # easy, normal, expert
'depends': ['product_get_cost_field',
'mrp',
#XXX OK so we're just hijacking the whole thing...
'product_cost_purchase',
Copy link
Author

Choose a reason for hiding this comment

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

I'd really like to find another way to make sure the methods of product_cost_purchase are called before those of product_cost_incl_bom.
This a blocker for this proposal, we can't force existing users to use a new feature they may not want.

Lionel Sausin (Numérigraphe) added 2 commits November 28, 2014 16:41
product_get_cost_field and product_cost_incl_bom Tried to be modular but failed because of the limitations of the API in v7.
This works around those limitations by injecting the required changes directly into the parent Model.
Replenishment cost based on the latest purchase order/quotation, for goods with very ample and frequent price changes (stock exchange)
@clonedagain
Copy link
Author

Abandoned project for some time already, closing.

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

Successfully merging this pull request may close these issues.

2 participants