Merge lp:~openerp-dev/openobject-addons/trunk-bug-796570-mtr into lp:openobject-addons
Proposed by
Meera Trambadia (OpenERP)
Status: | Rejected |
---|---|
Rejected by: | Fabien (Open ERP) |
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-bug-796570-mtr |
Merge into: | lp:openobject-addons |
Diff against target: |
25 lines (+4/-2) 1 file modified
sale/sale.py (+4/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-bug-796570-mtr |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mustufa Rangwala (Open ERP) (community) | Approve | ||
Meera Trambadia (OpenERP) (community) | Needs Resubmitting | ||
qdp (OpenERP) | Pending | ||
Review via email: mp+67277@code.launchpad.net |
Description of the change
Sale: If Sale tax is not provided on product it will take from property_
To post a comment you must log in.
Unmerged revisions
- 4863. By Meera Trambadia (OpenERP)
-
[MERGE] branch merged with openobject-addons
- 4862. By mtr <mtr@mtr>
-
[IMP] sale: passed context in browse method
- 4861. By mtr <mtr@mtr>
-
[MERGE] branch merged with main-addons
- 4860. By mtr <mtr@mtr>
-
[IMP] sale: passed context in map_tax method
- 4859. By mtr <mtr@mtr>
-
[IMP] sale: improved code for product taxes in product onchange method
- 4858. By Eetu Salpaharju,mtr
-
[FIX] sale: If Sale tax is not provided on product it will take from property_
account_ income or property_ account_ income_ categ
self.pool. get('account. fiscal. position' ) => define pool object at beginning of the method product_ obj.taxes_ id or product_ obj.property_ account_ income. tax_ids or product_ obj.categ_ id.property_ account_ income_ categ.tax_ ids
No need to create if elif.. you can define one variable for tax_ids.
tax_ids=
and pass it in map_tax()
Do not forget to pass context in the map_tax method.
Thanks,
mra