** Branch linked: lp:openerp-spain/6.0 ** Branch linked: lp:openerp-spain
-- You received this bug notification because you are a member of C2C OERPScenario, which is subscribed to the OpenERP Project Group. https://bugs.launchpad.net/bugs/736004 Title: Error generating csb19 file Status in OpenERP Spanish Localization Project: Fix Committed Bug description: Hi, I'm using 5.0.15 If a partner has a code longer than 12 characters, the method "_individual_obligatorio_19" and "individual_opcional_19" will generate a line that has more than 162 characters, which invalidates the file. There are several options to fix this problem: - show an error to the user and force him to change the code of the partner so it has less or 12 characters - truncate the code of the partner to 12 characters. I think this is not a good choice as two partner can have the same truncated code. - use the NIF/CIF as the code to identify the register in the csb19 file (IMHO this is the best option). The wizard should show an error to the user if any of the lines don't have the VAT set. Anyway, the csb19 code should always check that the generated lines are of 162 characters showing an error if the line generated has different size. Regards, Manu _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

