Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Sales
Entity: sale.order
Compute Method: _compute_transaction_count
| Inputs | Method | Outputs |
|---|---|---|
|
+ if not self.env.user.has_group("account.group_account_invoice"): + self.transaction_count = 0 + return + for order in self: + order.transaction_count = len(order.transaction_ids) |
|
