invoice-x / factur-x-ng

Python lib for Factur-X, the e-invoicing standard for France and Germany
Other
34 stars 8 forks source link

Specify a default value for fields #29

Open m3nu opened 6 years ago

m3nu commented 6 years ago

Since we cleared the XML templates of values it may be useful to keep default values in fields.yml. Like "invoice" for ram:Name (document name).

m3nu commented 6 years ago

Sometimes a default value won't be practical or risky. But where it's possible there should be one.

Implementation steps:

duskybomb commented 6 years ago

Possible uses of implementing code to read default values:

m3nu commented 6 years ago

point 1 - yes

point 2 - not sure what you mean. When a value is assigned to a field the user sees it of course.