factur-x-ng icon indicating copy to clipboard operation
factur-x-ng copied to clipboard

Implement reading and setting default values

Open duskybomb opened this issue 6 years ago • 3 comments

Reading and set default if value is not defined

  • What all fields can have _default?
  • Should I add as many fields as possible to fields.yml?

duskybomb avatar Jul 03 '18 17:07 duskybomb

Tests and actual default values?

m3nu avatar Jul 03 '18 23:07 m3nu

For tests, we need to resolve issue with _required fields (whether name and LineTotalAmount are required fields or not), because else is_valid() will always return False[1]. It is also affecting other features and tests as well.

duskybomb avatar Jul 04 '18 04:07 duskybomb

What all fields can have default values?

duskybomb avatar Jul 19 '18 15:07 duskybomb