Base EDIFACT
base_edifact · OCA/edi
Health
75/100
good
-
Security25/25No findings
-
Activity25/25Last human commit 6 months ago
-
Required by20/253 modules depend on it
-
Maturity5/25In 1 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Required by
3
Modules depending on it
External deps
1 pip · 0 bin
Python packages / system binaries
License
AGPL-3
No conflicts with its dependencies
Folder size
0.09 MB
Module directory on disk
Code analysis
0 migration notes
1 model
0 views
0 HTTP endpoints
Description
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (12)-
create_interchange(self, sender, recipient, control_ref, syntax_identifier)Create an interchange (started by UNB segment, ended by UNZ segment) :param list sender: Identification of the sender of the interchange. example: ["40410", "14"] - 40410: Identification of the sender of the interchange - 14: EAN (European Article Numbering Association) :param list recipient: Identification of the recipient of the interchange. example: ["40411", "14"] :param str control_ref: Unique reference assigned by the sender to an interchange. example: "10" :param list syntax_identifier: Identification of the agency controlling the syntax and indication of syntax level, plus the syntax version number. example: ["UNOC", "3"] :return: Interchange object representing the created interchange. :rtype: Interchange -
create_segment(self, *elements)@api.model -
map2odoo_address(self, seg)@api.modelDP. Party to which goods should be delivered, if not identical with consignee. NAD+DP+5550534000086::9+++++++DE' NAD segment: ['DP', ['5550534022101', '', '9'], '', '', '', '', '', '', 'ES'] IV. Party to whom an invoice is issued. NAD+IV+5450534005838::9++AMAZON EU SARL:NIEDERLASSUNG DEUTSCHLAND+MARCEL-BREUER-STR. 12+MUENCHEN++80807+DE :returns: { 'type': 'partner': {'gln':''} 'address': {...} } -
map2odoo_currency(self, seg)@api.model['2', 'EUR', '9'] -
map2odoo_date(self, dt)@api.model -
map2odoo_description(self, seg)@api.model'IMD' EDI segment: ['F', '79', ['', '', '', 'Description']] F: Label 79: Other description -
map2odoo_partner(self, seg)@api.modelBY. Party to which merchandise is sold. NAD+BY+5550534000017::9' NAD segment: ['BY', ['5550534001649', '', '9']] SU. Party which manufactures or otherwise has possession of goods,and consigns or makes them available in trade. NAD+SU+<Supplier GLN>::9' -
map2odoo_product(self, seg, pia=None)@api.model:seg: LIN segment ['1', '', ['8885583503464', 'EN']] EN. International Article Numbering Association (EAN) UP. UPC (Universal product code) SRV. GTIN :pia: PIA segment ['5', ['1276', 'SA', '', '9']] SA. Supplier's Article Number -
map2odoo_qty(self, seg)@api.model'QTY' EDI segment: [['21', '2']] '21'. Ordered quantity -
map2odoo_unit_price(self, seg=None)@api.model'PRI' EDI segment: [['AAA', '19.75']] Price qualifier: * 'AAA'. Calculation net * 'AAB'. Calculation gross -
pydifact_import(self, names)@api.model -
pydifact_obj(self, docu)@api.model
Loading…