Changed the name of the module to account_invoice_multisequence

This commit is contained in:
jmartin 2014-11-13 10:02:37 +01:00
parent bcbd474123
commit 7f4023f0b5
14 changed files with 35 additions and 34 deletions

View file

@ -1,5 +1,5 @@
Installing trytond_account_invoice_sequence
===========================================
Installing trytond_account_invoice_multisequence
================================================
Prerequisites
-------------
@ -10,7 +10,7 @@ Prerequisites
Installation
------------
Once you've downloaded and unpacked the trytond_account_invoice_sequence
Once you've downloaded and unpacked the trytond_account_invoice_multisequence
source release, enter the directory where the archive was unpacked, and run:
python setup.py install
@ -26,4 +26,4 @@ documentation:
http://docs.python.org/inst/inst.html
To use without installation, extract the archive into ``trytond/modules`` with
the directory name account_invoice_sequence.
the directory name account_invoice_multisequence.

6
README
View file

@ -1,7 +1,7 @@
trytond_account_invoice_sequence
================================
trytond_account_invoice_multisequence
=====================================
The account_invoice_sequence module of the Tryton application platform.
The account_invoice_multisequence module of the Tryton application platform.
Installing
----------

View file

@ -1,4 +1,4 @@
# This file is part of the account_invoice_sequence module for Tryton.
# This file is part of the account_invoice_multisequence module for Tryton.
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.pool import Pool
@ -11,4 +11,4 @@ def register():
Journal,
FiscalYear,
Invoice,
module='account_invoice_sequence', type_='model')
module='account_invoice_multisequence', type_='model')

View file

@ -1,4 +1,4 @@
# This file is part of the account_invoice_sequence module for Tryton.
# This file is part of the account_invoice_multisequence module for Tryton.
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.model import ModelView, ModelSQL, fields
@ -20,7 +20,7 @@ class AccountJournalInvoiceSequence(ModelSQL, ModelView):
period = fields.Many2One('account.period', 'Period',
domain=[
('fiscalyear', '=', Eval('fiscalyear'))
])
], depends=['fiscalyear'])
company = fields.Many2One('company.company', 'Company', required=True,
domain=[
('id', If(Eval('context', {}).contains('company'), '=', '!='),

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- This file is part of the account_invoice_sequence module for Tryton.
<!-- This file is part of the account_invoice_multisequence module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<tryton>

View file

@ -1,6 +1,6 @@
====================
Secuencia de factura
====================
==========================
Multi secuencia de factura
==========================
Añade secuencias a los diarios de tipo ingreso forma que permite a las facturas
de cliente y de devolución de cliente tener secuencias distintas en función del

View file

@ -1,6 +1,6 @@
Account Invoice Sequence Module
###############################
Account Invoice Multisequence Module
####################################
The account_invoice_sequence module adds sequences to journals of type revenue,
that allows that customer invoices and credit notes have different sequences
depending on the associated journal.
The account_invoice_multisequence module adds sequences to journals of type
revenue, that allows that customer invoices and credit notes have different
sequences depending on the associated journal.

View file

@ -1,5 +1,5 @@
#!/usr/bin/env python
# This file is part of the account_invoice_sequence module for Tryton.
# This file is part of the account_invoice_multisequence module for Tryton.
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from setuptools import setup
@ -7,7 +7,7 @@ import re
import os
import ConfigParser
MODULE = 'account_invoice_sequence'
MODULE = 'account_invoice_multisequence'
PREFIX = 'trytonzz'
MODULE2PREFIX = {}

View file

@ -1,6 +1,6 @@
# This file is part of the account_invoice_sequence module for Tryton.
# This file is part of the account_invoice_multisequence module for Tryton.
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from .test_account_invoice_sequence import suite
from .test_account_invoice_multisequence import suite
__all__ = ['suite']

View file

@ -1,5 +1,5 @@
#!/usr/bin/env python
# This file is part of the account_invoice_sequence module for Tryton.
# This file is part of the account_invoice_multisequence module for Tryton.
# The COPYRIGHT file at the top level of this repository contains the full
# copyright notices and license terms.
from trytond.tests.test_tryton import test_view, test_depends
@ -7,15 +7,16 @@ import trytond.tests.test_tryton
import unittest
class AccountInvoiceSequenceTestCase(unittest.TestCase):
'Test Account Invoice Sequence module'
class AccountInvoiceMultisequenceTestCase(unittest.TestCase):
'Test Account Invoice Multisequence module'
def setUp(self):
trytond.tests.test_tryton.install_module('account_invoice_sequence')
trytond.tests.test_tryton.install_module(
'account_invoice_multisequence')
def test0005views(self):
'Test views'
test_view('account_invoice_sequence')
test_view('account_invoice_multisequence')
def test0006depends(self):
'Test depends'
@ -25,5 +26,5 @@ class AccountInvoiceSequenceTestCase(unittest.TestCase):
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
AccountInvoiceSequenceTestCase))
AccountInvoiceMultisequenceTestCase))
return suite

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- This file is part of the account_invoice_sequence module for Tryton.
<!-- This file is part of the account_invoice_multisequence module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<form string="Account Invoice Sequence">

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- This file is part of the account_invoice_sequence module for Tryton.
<!-- This file is part of the account_invoice_multisequence module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<tree string="Account Invoice Sequence">

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- This file is part of the account_invoice_sequence module for Tryton.
<!-- This file is part of the account_invoice_multisequence module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>

View file

@ -1,5 +1,5 @@
<?xml version="1.0"?>
<!-- This file is part of the account_invoice_sequence module for Tryton.
<!-- This file is part of the account_invoice_multisequence module for Tryton.
The COPYRIGHT file at the top level of this repository contains the full
copyright notices and license terms. -->
<data>