$ 17.04
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Invoicing (account)
• Purchase (purchase) • Discuss (mail) |
Lines of code | 15 |
Technical Name |
account_move_ref_invoice_customer |
License | AGPL-3 |
Website | http://www.b-informed.id |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Invoicing (account)
• Purchase (purchase) • Discuss (mail) |
Lines of code | 15 |
Technical Name |
account_move_ref_invoice_customer |
License | AGPL-3 |
Website | http://www.b-informed.id |

Intercompany pricing
Company A delivers B, Company B delivers the customer. So the selling price of company A is the costprice in Company B Currently this is a manual action. With our code you can make a automatic action to trigger this. Also take a look to our module that will set sales price per company
How does this module work?
Step 1) Make a automatic action that triggers on list price change of a product
Execute the following code: company = 34 # put in here your company that you want to update new_price = 1550 # put in here your new price or calculation for new price counter_part = 505 # put in here your G/L account record.with_context(force_company=company).sudo()._change_standard_price(new_price, counterpart_account_id=counter_part)
Please log in to comment on this module