Exemplo n.º 1
0
  def getBusinessTemplateList(self):
    """
    custom list of business templates for testItem

    erp5_trade_proxy_field_legacy is added only for a temporary
    period until wrongly proxyfied business template (erp5_item here) stops
    using obsolete field libraries. erp5_trade_proxy_field_legacy must be
    removed as soon as possible.
    """
    return TestSaleInvoiceMixin.getBusinessTemplateList(self) + \
         ('erp5_item',) + ('erp5_trade_proxy_field_legacy',)
Exemplo n.º 2
0
  def getBusinessTemplateList(self):
    """
    custom list of business templates for testItem

    erp5_trade_proxy_field_legacy is added only for a temporary
    period until wrongly proxyfied business template (erp5_item here) stops
    using obsolete field libraries. erp5_trade_proxy_field_legacy must be
    removed as soon as possible.
    """
    return TestSaleInvoiceMixin.getBusinessTemplateList(self) + \
         ('erp5_item',) + ('erp5_trade_proxy_field_legacy',)
 def afterSetUp(self):
     TestSaleInvoiceMixin.afterSetUp(self)
     # Necessary to allow Invoice Line to be included in Invoice Line.
     self.allowInvoiceLineContentTypeInInvoiceLine()
 def afterSetUp(self):
   TestSaleInvoiceMixin.afterSetUp(self)
   # Necessary to allow Invoice Line to be included in Invoice Line.
   self.allowInvoiceLineContentTypeInInvoiceLine()