Merge lp:~akretion-team/openobject-addons/trunk-addons-analytic-on-tax into lp:openobject-addons
Status: | Superseded |
---|---|
Proposed branch: | lp:~akretion-team/openobject-addons/trunk-addons-analytic-on-tax |
Merge into: | lp:openobject-addons |
Diff against target: |
173 lines (+58/-8) 4 files modified
account/account.py (+8/-2) account/account_invoice.py (+46/-4) account/account_invoice_view.xml (+2/-0) account/account_view.xml (+2/-2) |
To merge this branch: | bzr merge lp:~akretion-team/openobject-addons/trunk-addons-analytic-on-tax |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+114182@code.launchpad.net |
This proposal supersedes a proposal from 2011-12-11.
This proposal has been superseded by a proposal from 2012-07-10.
Description of the change
Here is the real-life scenario which motivate this merge proposal :
In some companies, all expenses must have an analytic account.
When you purchase some equipments, you sometimes have to pay an eco-tax. For the company who is the end-used of the equipment, this eco-tax is considered as an expense. So we need to be able to define an analytic account on invoice tax lines.
More info about the history of this topic : https:/
This merge proposal :
- adds a field 'account_
- adds 2 fields 'account_
- adds these 3 fields in the appropriate views
- adds the necessary code in account.py and account_invoice.py
- moves the help message "Keep empty to use the income account" from a label on the form view of account_tax to the help pop-up of the corresponding field (I made this change in order to get some room for the fields 'account_
Unmerged revisions
- 7010. By Alexis de Lattre
-
Add analytic account on taxes and invoice tax lines.
Hello looks good but analytic_ id': fields. many2one( 'account. analytic. account' , 'Analytic account'),
+ 'account_
is already necessary ?
Account invoice line gets by default this field.
Regards,