Coverage for ingadhoc-argentina-sale / l10n_ar_stock_ux / models / uom_uom.py: 71%

7 statements  

« prev     ^ index     » next       coverage.py v7.13.4, created at 2026-03-09 18:22 +0000

1############################################################################## 

2# For copyright and license notices, see __manifest__.py file in module root 

3# directory 

4############################################################################## 

5from odoo import fields, models 

6 

7 

8class ProductUom(models.Model): 

9 _inherit = "uom.uom" 

10 

11 arba_code = fields.Char() 

12 

13 def action_arba_codes(self): 

14 self.ensure_one() 

15 return { 

16 "type": "ir.actions.act_url", 

17 "url": "http://www.arba.gov.ar/bajadas/Fiscalizacion/Operativos/TransporteBienes/Documentacion/20080701-TB-TablasDeValidacion.pdf", 

18 "target": "new", 

19 }