Merge lp:~lfreeke/therp-addons/7.0-res_partner_fiscal_position into lp:~therp-nl/therp-addons/7.0
Proposed by
Lara (Therp)
Status: | Rejected |
---|---|
Rejected by: | Holger Brunn (Therp) |
Proposed branch: | lp:~lfreeke/therp-addons/7.0-res_partner_fiscal_position |
Merge into: | lp:~therp-nl/therp-addons/7.0 |
Diff against target: |
238 lines (+196/-0) 8 files modified
res_partner_fiscal_position/__init__.py (+1/-0) res_partner_fiscal_position/__openerp__.py (+40/-0) res_partner_fiscal_position/model/__init__.py (+3/-0) res_partner_fiscal_position/model/account_fiscal_position.py (+40/-0) res_partner_fiscal_position/model/res_country.py (+40/-0) res_partner_fiscal_position/model/res_partner.py (+36/-0) res_partner_fiscal_position/view/res_country.xml (+18/-0) res_partner_fiscal_position/view/res_partner.xml (+18/-0) |
To merge this branch: | bzr merge lp:~lfreeke/therp-addons/7.0-res_partner_fiscal_position |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Holger Brunn (Therp) | Disapprove | ||
Stefan Rijnhart (Opener) (community) | Needs Fixing | ||
Review via email: mp+235155@code.launchpad.net |
Description of the change
add a new module. See module description
To post a comment you must log in.
Unmerged revisions
- 110. By Ronald Portier (Therp)
-
[FIX] Module res_partner_
fiscal_ position:
- No multiple inheritance on account.fiscal. position - 109. By Ronald Portier (Therp)
-
[ENH] Module res_partner_
fiscal_ position:
- show company on selection of fiscal position. - 108. By <email address hidden>
-
[ADD] res_partner_fiscal position. Adds fiscal position to country and will add fiscal position when selecting country at a partner.
Thanks! Looks really useful. Some comments:
If I understand correctly, name_get() was modified to display the company of the fiscal position, because in a superior company the fiscal positions of the underlying companies are accessible. This could help the user not to pick a fiscal position of any other company than the one it is working for at that moment, but it does not prevent a mixup of company data. I would prefer to filter the fiscal positions on the current user's company. You may have to create a function field on res.country to be able to access this piece of data though.
In the manifest, please explain what is different in this module from the module that it is based on.
The object instantiation in line number 150 is not needed in recent versions of Odoo and should be removed.
Please remove commented code in ll.136,137