File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 16
16
"ps_timesheet_invoicing" ,
17
17
"report_qweb_pdf_watermark" ,
18
18
"ps_calendar" ,
19
- # TODO: probably replace with yet-to-be-migrated account_edi_simple_pdf
20
- "account_edi" ,
19
+ "account_edi_simple_pdf" ,
21
20
"account_move_tier_validation" ,
22
21
"account_invoice_merge" ,
23
22
],
Original file line number Diff line number Diff line change @@ -173,3 +173,11 @@ def _get_name_invoice_report(self):
173
173
if not self .company_id .use_standard_layout and ps_invoice :
174
174
return "ps_account.report_invoice_document_ps_account"
175
175
return super ()._get_name_invoice_report ()
176
+
177
+ def _simple_pdf_create_invoice_from_attachment (self , attachment ):
178
+ """Fill supplier_invoice_number from ref"""
179
+ self = self .with_context (default_supplier_invoice_number = "dummy" )
180
+ result = super ()._simple_pdf_create_invoice_from_attachment (attachment )
181
+ result .supplier_invoice_number = result .ref
182
+ result .ref = False
183
+ return result
Original file line number Diff line number Diff line change 45
45
oca : https://github.com/OCA/edi
46
46
merges :
47
47
- oca 16.0
48
+ - oca refs/pull/1091/head
48
49
hr :
49
50
remotes :
50
51
oca : https://github.com/OCA/hr
Original file line number Diff line number Diff line change 1
1
astor
2
+ dateparser
2
3
phonenumbers
3
4
pypdf < 5.0
5
+ regex
You can’t perform that action at this time.
0 commit comments