summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_shortcode_data.xml
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2015-12-10 10:34:13 +0100
committerJérome Maes <jem@openerp.com>2015-12-17 11:26:33 +0100
commitb6fa479000f7afdcaf4b4a48dbf9db9fc6bf9002 (patch)
treec6c14caf994ec144b4b8fb59e940d16f0c9cb642 /addons/mail/data/mail_shortcode_data.xml
parenta2cb0e96e36fc66dab674043cd9d576d617c9c0c (diff)
[FIX] inter_company_rules : misplaced sudo to prepare value to create PO/SO lines
The initial problem is when generating a PO from SO (or the inverse) the taxes were not propagated to the new created line. Taxes are company dependent field : so when we create a PO in company A, the PO line contains the taxes of company A, but we want the corresponding SO line in company B to have the taxes of company B, which wasn't the case. This commit makes the taxes propagation works. The initial line is now browse as sudo() to get all the taxes related to this line (or its product). Then we filter them to keep only the ones from the right company. Do not forward port this commit, since the same patch will be applied in 9.0e
Diffstat (limited to 'addons/mail/data/mail_shortcode_data.xml')
0 files changed, 0 insertions, 0 deletions