mirror of
https://github.com/OCA/OCB.git
synced 2026-04-23 19:14:53 -06:00
Page:
OLD 7.0 2014 11 05
Pages
Contributing
FAQ
Home
OCB Purpose
OLD 7.0 2014 09 24
OLD 7.0 2015 01 08
OLD 7.0 2015 01 16
OLD 7.0 2015 01 23
OLD 7.0 2015 02 14
OLD 7.0 2015 03 04
OLD 7.0 2015 03 27
OLD 7.0 2015 04 07
OLD 7.0 2015 06 02
OLD 7.0 2016 05 18
OLD 8.0 2015 02 06
OLD 8.0 2015 02 14
OLD 8.0 2015 06 17
OLD 8.0 2015 06 18
OLD 8.0 2015 06 26
OLD 8.0 2015 07 30
OLD 8.0 2015 09 08
OLD 8.0 2015 11 30
OLD 8.0 2016 04 05
OLD 8.0 2016 04 28
OLD 8.0 2016 05 28
OLD 8.0 2016 06 19
OLD 8.0 2016 12 25
OLD 9.0 2016 01 16
OLD 9.0 2017 05 31
OLD lp2git merge of lp:ocb server 7.0
OLD lp2git replay
OLD 7.0 2014 10 29
OLD 7.0 2014 11 04
OLD 7.0 2014 11 05
OLD 7.0 2014 11 27
OLD 7.0 2014 12 03
OLD 7.0 2015 01 15
OLD 7.0 2015 08 17
OLD 7.0 2015 08 18
OLD 7.0 2015 09 26
OLD Conflict resolutions OCB synchronization
OLD GitHub Transition
No results
Table of Contents
Note
This conflict resolution was amended in github.com/OCA/OCB@fccea9a092
Conflict
diff --cc addons/account/account_invoice.py
index 2453c2e,febddd3..0000000
--- a/addons/account/account_invoice.py
+++ b/addons/account/account_invoice.py
@@@ -1761,14 -1744,14 +1761,24 @@@ class account_invoice_tax(osv.osv)
val['account_analytic_id'] = tax['account_analytic_paid_id']
# If the taxes generate moves on the same financial account as the invoice line
++<<<<<<< HEAD
+ # and no default analytic account is defined at the tax level, propagate the
+ # analytic account from the invoice line to the tax line. This is necessary
+ # in situations were (part of) the taxes cannot be reclaimed,
++=======
+ # and no default analytic account is defined at the tax level, propagate the
+ # analytic account from the invoice line to the tax line. This is necessary
+ # in situations were (part of) the taxes cannot be reclaimed,
++>>>>>>> odoo/7.0
# to ensure the tax move is allocated to the proper analytic account.
if not val.get('account_analytic_id') and line.account_analytic_id and val['account_id'] == line.account_id.id:
val['account_analytic_id'] = line.account_analytic_id.id
++<<<<<<< HEAD
+ key = (val['tax_code_id'], val['base_code_id'], val['account_id'], val['account_analytic_id'])
++=======
+ key = (val['tax_code_id'], val['base_code_id'], val['account_id'])
++>>>>>>> odoo/7.0
if not key in tax_grouped:
tax_grouped[key] = val
else:
Resolution
Retain upstream's formatting of the comment from github.com/OCA/OCB@7b7ca96e65, but keep key from github.com/OCA/OCB@fb7120d7b6
Committed as github.com/OCA/OCB@3e1d5be951 by @hbrunn
Website | Online Demo | Community | Documentation | Help