Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Check Printing Base
Entity: account.move
Compute Method: _compute_preferred_payment_method_idd
| Inputs | Method | Outputs |
|---|---|---|
|
- for move in self: - partner = move.partner_id - # take the payment method corresponding to the move's company - move.preferred_payment_method_id = partner.with_company(move.company_id).property_payment_method_id |
|
