File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,10 @@ class ResCompany(models.Model):
1515 string = "Hide Facturae discount" ,
1616 help = "The unit price will be recalculated applying the discount" ,
1717 )
18+ facturae_registration_book = fields .Char (size = 20 )
19+ facturae_registration_location = fields .Char (size = 20 )
20+ facturae_registration_sheet = fields .Char (size = 20 )
21+ facturae_registration_folio = fields .Char (size = 20 )
22+ facturae_registration_section = fields .Char (size = 20 )
23+ facturae_registration_volume = fields .Char (size = 20 )
24+ facturae_registration_additional = fields .Char (size = 20 )
Original file line number Diff line number Diff line change 123123 <LegalEntity t-if =" buyer_type == 'J'" >
124124 <CorporateName t-length =" 80" t-out =" partner.name" />
125125 <TradeName t-length =" 40" t-out =" partner.name" />
126- <RegistrationData t-if =" False" />
126+ <RegistrationData >
127+ <Book t-out =" company.facturae_registration_book" />
128+ <RegisterOfCompaniesLocation
129+ t-out =" company.facturae_registration_location"
130+ />
131+ <Sheet t-out =" company.facturae_registration_sheet" />
132+ <Folio t-out =" company.facturae_registration_folio" />
133+ <Section t-out =" company.facturae_registration_section" />
134+ <Volume t-out =" company.facturae_registration_volume" />
135+ <AdditionalRegistrationData
136+ t-out =" company.facturae_registration_additional"
137+ />
138+ </RegistrationData >
127139 <t t-call =" l10n_es_facturae.address_contact" >
128140 </t >
129141 </LegalEntity >
Original file line number Diff line number Diff line change 1616 <field name =" facturae_version" />
1717 <field name =" facturae_hide_discount" />
1818 </group >
19+ <group string =" Registration data" >
20+ <field name =" facturae_registration_book" string =" Book" />
21+ <field
22+ name =" facturae_registration_location"
23+ string =" Location"
24+ />
25+ <field name =" facturae_registration_sheet" string =" Sheet" />
26+ <field name =" facturae_registration_folio" string =" Folio" />
27+ <field name =" facturae_registration_section" string =" Section" />
28+ <field name =" facturae_registration_volume" string =" Volume" />
29+ <field
30+ name =" facturae_registration_additional"
31+ string =" Additional information"
32+ />
33+ </group >
1934 </page >
2035 </notebook >
2136 </field >
You can’t perform that action at this time.
0 commit comments