Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.

Module: Indian - E-waybill Stock

Entity: l10n.in.ewaybill

Compute Method: _compute_fiscal_position

Inputs Method Outputs
for ewaybill in self:
            if ewaybill.picking_id and ewaybill.state == 'pending':
                ewaybill.fiscal_position_id = (
                    self.env['account.fiscal.position']._get_fiscal_position(
                        ewaybill._is_incoming()
                        and ewaybill.partner_bill_from_id
                        or ewaybill.partner_bill_to_id
                    )
                    or ewaybill.picking_id._l10n_in_get_fiscal_position()
                )

Back to entity