generacion de cufe desde invoice

FossilOrigin-Name: d3494f20063452571b1e86d505f211e61fdf435aa43b870408136e3e9302bc17
This commit is contained in:
bit4bit
2021-07-31 17:09:42 +00:00
parent a1a9746353
commit 69a74c0714
8 changed files with 233 additions and 45 deletions

View File

@@ -494,7 +494,7 @@ def test_field_amount():
class Line(facho.model.Model):
__name__ = 'Line'
amount = fields.Amount(name='Amount', precision=0)
amount = fields.Amount(name='Amount', precision=1)
amount_as_attribute = fields.Attribute('amount')
@fields.on_change(['amount'])
@@ -504,7 +504,7 @@ def test_field_amount():
line = Line()
line.amount = 33
assert '<Line amount="33"/>' == line.to_xml()
assert '<Line amount="33.0"/>' == line.to_xml()
def test_model_setup():