On Wednesday, September 27, 2017 at 12:17:20 PM UTC, Sergi Almacellas Abellana 
wrote:
> El 27/09/17 a les 12:11, Maah Moussa ha escrit:
> > Yes. Thanks. It got connected as postgres after running trytond-admin 
> > correctly. The DB is working. Except the invoicing It gets this message:
> > The value of the field "Account" on "Invoice" is not valid according to its 
> > domain.
> > I used the migration through opensuse upgrade.sql
> > All seems working except the invoicing.
> The invoice domain enforces two things:
> 
> 1. The account used is from the same company as the invoice account.
> 2. If it's an out invoice it should be of kind receivable. Otherwise it 
> should be of kind payable.
> 
> One (or both) of this conditions is not valid. You should check the 
> values used.
> 
> -- 
> Sergi Almacellas Abellana
> www.koolpi.com
> Twitter: @pokoli_srk

The restored DB used to have invoiced customers. Now I can't invoice customers 
even after putting the customer payment term.
I'm sorry. I don't quite grasp your points. The accounts are configured and 
used to be working. 
Also I noticed issues through back up 
2017-09-27 12:19:03 [INFO] START Database Backup
2017-09-27 12:19:06 [INFO] Compressing Database Backup
2017-09-27 12:19:09 [INFO] Creating compressed tarball with DB and GNU Health 
Attachment directory
tar: Removing leading `/' from member names
/var/lib/tryton/
/var/lib/tryton/trytond.pid
./gnuhealth-control: line 183: message: command not found
tar: Removing leading `/' from member names
/home/gnuhealth/Downloads/backup_gnuhealth30_2017-09-27_121903.gz
tar: 
/home/gnuhealth/Downloads/gnuhealth_gnuhealth30_fs_backup_2017-09-27_121903.tar.gz:
 Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
2017-09-27 12:19:09 [ERROR] Bailing out !
2017-09-27 12:19:09 [ERROR] Removing backup lock file

Is there a method to make sure the DB is restored and migrated correctly?
Thanks
Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/d299e941-5de9-4324-a964-a8b7ca906462%40googlegroups.com.

Reply via email to