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

feat(purchase): add price difference valuation account to coa (TODO) #40158

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

Conversation

blaggacao
Copy link
Contributor

@blaggacao blaggacao commented Nov 13, 2019

Summary

Analog to stock_account, the purchase driven company dependent field
property_account_creditor_price_difference_categ should obtain a
proper default value from the chart of account.

Motivation

Same as for stock_account.

Installing a CoA is an act of defaulting to CoA scoped accounting configuration. There is no reason, why this specific setting should be handled differently (no default). It seems the current implementation is inconsistent in that regard. This PR aligned the behaviour of this particular case with the behaviours of it's peers.

It reduces hard to fix implementation errors.

--
I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr

@xoe-labs

@blaggacao
Copy link
Contributor Author

Who to ping again? (It's time for OWNERS files!)

@blaggacao blaggacao force-pushed the master-add-purchase-property-account branch from 834539a to 8baf3cd Compare November 13, 2019 04:01
Analog to srtock_account, the purchase driven company dependent field
`property_account_creditor_price_difference_categ` should obtain a
proper default value from the chart of account.
@blaggacao blaggacao force-pushed the master-add-purchase-property-account branch from 8baf3cd to 2fafd6a Compare November 25, 2019 21:00
@mart-e
Copy link
Contributor

mart-e commented Dec 20, 2019

Who to ping again? (It's time for OWNERS files!)

You mean the git history? I don't think it is very healthy for a project to have single point of contact (and even less hardcoding it in the repository).

For this accounting issue, that would probably be @qdp-odoo or @oco-odoo
however, you should first fix the issue in your code, the runbot build failed because of deprecated api.multi use.
Also, please describe your issue, the what but most important the why this is a needed change.

Thanks

@blaggacao blaggacao changed the title feat(purchase): add price difference valuation account to coa feat(purchase): add price difference valuation account to coa (TODO) Dec 20, 2019
@blaggacao
Copy link
Contributor Author

@Deiber could you please have a look at the failing logs / force-push a fix?

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.

None yet

4 participants