Skip to content

Commit

Permalink
Merge PR #1082 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by pedrobaeza
  • Loading branch information
OCA-git-bot committed Dec 4, 2024
2 parents 4dac712 + d9a706a commit 70bfd44
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion account_invoice_facturx/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"base_facturx",
"base_vat",
],
"external_dependencies": {"python": ["factur-x"]},
"external_dependencies": {"python": ["factur-x<=3.1"]},
"data": [
"views/res_partner.xml",
"views/res_config_settings.xml",
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# generated from manifests external_dependencies
factur-x
factur-x<=3.1
pypdf
PyPDF2
PyYAML
Original file line number Diff line number Diff line change
Expand Up @@ -254,15 +254,17 @@
<field name="related_model">lines</field>
<field name="field_id" ref="account.field_account_move_line__quantity" />
<field name="column">1</field>
<field name="pattern">(^\d{1,3}\n)[0-9]{1,2}</field>
<field name="pattern">\[[A-Z\d]+[_|-][A-Z\d]+\] [a-zA-Záí]* ([0-9]{1,3})</field>
<field name="value_type">variable</field>
</record>
<record id="invoice_tecnativa_price_unit" model="base.import.pdf.template.line">
<field name="template_id" ref="invoice_tecnativa" />
<field name="related_model">lines</field>
<field name="field_id" ref="account.field_account_move_line__price_unit" />
<field name="column">2</field>
<field name="pattern">(^\d{1,3}\.(?!00)\d{2}\n)</field>
<field
name="pattern"
>\[[A-Z\d]+[_|-][A-Z\d]+\] [a-zA-Záí]* [0-9]{1,3} ([0-9]{1,3}.[0-9]{2})</field>
<field name="value_type">variable</field>
<field name="log_distinct_value" eval="True" />
</record>
Expand Down

0 comments on commit 70bfd44

Please sign in to comment.